$methods
$methods :
The available validator methods
Validator
__call(string $method, array $args) : \app\framework\Component\Route\Klein\Validator|boolean
Magic "__call" method
Allows the ability to arbitrarily call a validator with an optional prefix of "is" or "not" by simply calling an instance property like a callback
string | $method | The callable method to execute |
array | $args | The argument array to pass to our callback |
If an attempt was made to call a validator modifier that doesn't exist
If the validation check returns false