PhpSandbox\PHPSandbox::hasDefinedClasses PHP Méthode

hasDefinedClasses() public méthode

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