PhpSandbox\PHPSandbox::getTypeValidator PHP Method

getTypeValidator() public method

Get validation callable for types
public getTypeValidator ( ) : callable | null
return callable | null
    public function getTypeValidator()
    {
        return isset($this->validation['type']) ? $this->validation['type'] : null;
    }
PHPSandbox