PhpSandbox\PHPSandbox::hasDefinedNamespaces PHP Method

hasDefinedNamespaces() public method

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