PhpSandbox\PHPSandbox::hasWhitelistKeywords PHP Method

hasWhitelistKeywords() public method

Query whether PHPSandbox instance has whitelisted keywords.
public hasWhitelistKeywords ( ) : integer
return integer Returns the number of whitelisted keywords this instance has defined
    public function hasWhitelistKeywords()
    {
        return count($this->whitelist['keywords']);
    }
PHPSandbox