createPackageDescriptorTree()
createPackageDescriptorTree(
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\PackageInterface> $packages,
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
string $packageName)
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: void
Creates a tree of PackageDescriptors based on the provided FQNN (package name).
This method will examine the package name and create a package descriptor for each part of
the FQNN if it doesn't exist in the packages field of the current package (starting with the root
Package in the Project Descriptor),
As an intended side effect this method also populates the elements index of the ProjectDescriptor with all
created PackageDescriptors. Each index key is prefixed with a tilde (~) so that it will not conflict with
other FQSEN's, such as classes or interfaces.
Parameters
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\PackageInterface> |
$packages |
|
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
string |
$packageName |
A FQNN of the package (and parents) to create.
|
Deprecated: Please use getType in /opt/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50