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

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

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