PhpSandbox\PHPSandbox::isBlacklistedKeyword PHP Méthode

isBlacklistedKeyword() public méthode

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