PhpSandbox\PHPSandbox::hasDefinedNamespaces PHP Méthode

hasDefinedNamespaces() public méthode

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