PhpSandbox\PHPSandbox::hasWhitelist PHP 메소드

hasWhitelist() 공개 메소드

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