$parent
$parent : ?\phpDocumentor\Descriptor\Interfaces\NamespaceInterface
Represents the package for a class, trait, interface or file.
$inheritedElement : \phpDocumentor\Descriptor\Interfaces\ElementInterface|string|\phpDocumentor\Reflection\Fqsen|null
setConstants(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\ConstantInterface> $constants) : void
Sets a list of all constants in this namespace.
\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\ConstantInterface> | $constants |
setFunctions(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\FunctionInterface> $functions) : void
Sets a list of all functions in this namespace.
\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\FunctionInterface> | $functions |
setInterfaces(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\InterfaceInterface> $interfaces) : void
Sets a list of all interfaces in this namespace.
\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\InterfaceInterface> | $interfaces |
setChildren(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\NamespaceInterface> $children) : void
Sets a list of all child namespaces in this namespace.
\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\NamespaceInterface> | $children |
getChildren() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\NamespaceInterface>
Returns a list of all namespaces contained in this namespace and its children.
__call(string $name, array $arguments) : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TagDescriptor>|null
Dynamically constructs a set of getters to retrieve tag (collections) with.
Important: __call() is not a fast method of access; it is preferred to directly use the getTags() collection. This interface is provided to allow for uniform and easy access to certain tags.
string | $name | |
array | $arguments |
getTags() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TagDescriptor>>
Returns the tags associated with this element.
getStartLocation() : ?\phpDocumentor\Reflection\Location
Returns the start location where the definition for this element can be found.
None found |
getEndLocation() : ?\phpDocumentor\Reflection\Location
Returns the end location where the definition for this element can be found.
None found |
getInheritedElement() : \phpDocumentor\Descriptor\Interfaces\ElementInterface|string|\phpDocumentor\Reflection\Fqsen|null
Returns the element from which this element inherits, or null if it doesn't inherit any information.
This method is usually overridden in consuming classes with the determination how that class should resolve inheritance. This is a placeholder function for those classes who need a simple way to provide inheritance.
None found |