PhpSandbox\PHPSandbox::hasBlacklist PHP Méthode

hasBlacklist() public méthode

Query whether PHPSandbox instance has blacklist type.
public hasBlacklist ( string $type ) : integer
$type string The blacklist type to query
Résultat integer Returns the number of blacklists this instance has defined
    public function hasBlacklist($type)
    {
        return count($this->blacklist[$type]);
    }
PHPSandbox