public setValidator ( string $type, callable $callable ) : |
||
$type | string | String of $type name to set validator for |
$callable | callable | Callable that validates the passed element |
Résultat | Returns the PHPSandbox instance for fluent querying |