PhpSandbox\PHPSandbox::isBlacklistedInterface PHP Méthode

isBlacklistedInterface() public méthode

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