|
Validator::register('awesome', function($attribute, $value, $parameters)
|
|
Validator::register('awesome', function($attribute, $value, $parameters)
|
|
In this case, the parameters argument of your validation rule would receive an array containing one element: "yes".
|
|
In this case, the parameters argument of your validation rule would receive an array containing one element: "yes".
|