PhpSandbox\PHPSandbox::isBlacklisted PHP Méthode

isBlacklisted() public méthode

Check if PHPSandbox instance has blacklist type and name set
public isBlacklisted ( string $type, string $name ) : boolean
$type string String of blacklist $type to query
$name string String of blacklist $name to query
Résultat boolean Returns true if PHPSandbox instance has blacklisted $type and $name, false otherwise
    public function isBlacklisted($type, $name)
    {
        return isset($this->blacklist[$type][$name]);
    }
PHPSandbox