PDepend\Source\Language\PHP\PHPBuilder::buildClassInternal PHP Метод

buildClassInternal() защищенный Метод

Where possible you should give a qualified class name, that is prefixed with the package identifier. $builder->buildClass('php::depend::Parser'); To determine the correct class, this method implements the following algorithm.
  1. Check for an exactly matching instance and reuse it.
  2. Check for a class instance that belongs to the default package. If such an instance exists, reuse it and replace the default package with the newly given package information.
  3. Check that the requested class is in the default package, if this is true, reuse the first class instance and ignore the default package.
  4. Create a new instance for the specified package.
С версии: 0.9.5
protected buildClassInternal ( string $qualifiedName ) : PDepend\Source\AST\ASTClass
$qualifiedName string
Результат PDepend\Source\AST\ASTClass
    protected function buildClassInternal($qualifiedName)
    {
        $this->internal = true;
        $class = $this->buildClass($qualifiedName);
        $class->setNamespace($this->buildNamespace($this->extractNamespaceName($qualifiedName)));
        $this->restoreClass($class);
        return $class;
    }
PHPBuilder