PhpSandbox\PHPSandbox::hasBlacklist PHP Method

hasBlacklist() public method

Query whether PHPSandbox instance has blacklist type.
public hasBlacklist ( string $type ) : integer
$type string The blacklist type to query
return integer Returns the number of blacklists this instance has defined
    public function hasBlacklist($type)
    {
        return count($this->blacklist[$type]);
    }
PHPSandbox