PhpSandbox\PHPSandbox::isBlacklisted PHP Method

isBlacklisted() public method

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
return 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