PhpSandbox\PHPSandbox::hasWhitelistedNamespaces PHP Method

hasWhitelistedNamespaces() public method

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