PhpSandbox\PHPSandbox::hasWhitelist PHP Méthode

hasWhitelist() public méthode

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