Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.4] Allow Validator extension to use array-style callable (#18399)
* Allow Validator extension to use array-style callable Currently, a validator extension can be either a Closure or a string denoting a class and method. For complex validation scenarios, however, it's useful to be able to pass an object and method in the array-style callable format (i.e. [$object, $method] instead of "$class@$method"). * Update Validator.php
- Loading branch information