PhpSandbox\PHPSandbox::unsetValidator PHP Méthode

unsetValidator() public méthode

Unset validation callable for specified $type
public unsetValidator ( string $type ) : PHPSandbox
$type string String of $type to unset
Résultat PHPSandbox Returns the PHPSandbox instance for fluent querying
    public function unsetValidator($type)
    {
        $type = strtolower($type);
        //normalize type
        if (isset($this->validation[$type])) {
            $this->validation[$type] = null;
        }
        return $this;
    }
PHPSandbox