PhpSandbox\PHPSandbox::setUseValidator PHP Méthode

setUseValidator() public méthode

Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
public setUseValidator ( callable $callable ) : PHPSandbox
$callable callable Callable that validates the passed use (aka alias) name
Résultat PHPSandbox Returns the PHPSandbox instance for fluent querying
    public function setUseValidator($callable)
    {
        return $this->setAliasValidator($callable);
    }
PHPSandbox