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

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

Constructs a new builder instance.
public __construct ( )
    public function __construct()
    {
        $this->defaultPackage = new ASTNamespace(self::DEFAULT_NAMESPACE);
        $this->defaultCompilationUnit = new ASTCompilationUnit(null);
        $this->namespaces[self::DEFAULT_NAMESPACE] = $this->defaultPackage;
        $this->context = new GlobalBuilderContext($this);
    }
PHPBuilder