You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.
Basically the support for having multiple methods named the same but with different parameters.
For example, this would be really helpful in the Laravel Query builder, where if we look at the where method for example, it is full of if statements to call the correct method. If we had method overloading, this would simply be multiple methods, taking the correct argument in each of the methods.
https://github.com/laravel/framework/blob/2906b572aa83ff46b8ad57093dd0e859c0ff783f/src/Illuminate/Database/Query/Builder.php#L487-L548
The text was updated successfully, but these errors were encountered: