PhpSandbox\PHPSandbox::hasWhitelistedNamespaces PHP Метод

hasWhitelistedNamespaces() публичный Метод

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