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
If we have a lot of parameters and want to validate them via some framework validators, it could be useful to let users to pass params to method as a variadic param. e.g.
public function methodName(...$params)
{
// some validations here
}
The text was updated successfully, but these errors were encountered:
If we have a lot of parameters and want to validate them via some framework validators, it could be useful to let users to pass params to method as a variadic param. e.g.
The text was updated successfully, but these errors were encountered: