getNamespace()
getNamespace() : \phpDocumentor\Descriptor\Interfaces\NamespaceInterface|string
Returns the namespace for this element (defaults to global "\")
Common interface representing the description of a class.
setLocation(\phpDocumentor\Descriptor\Interfaces\FileInterface $file, \phpDocumentor\Reflection\Location $startLocation) : void
Sets the file and location for this element.
\phpDocumentor\Descriptor\Interfaces\FileInterface | $file | |
\phpDocumentor\Reflection\Location | $startLocation |
getTags() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TagDescriptor>>
Returns all tags associated with this element.
setInterfaces(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\InterfaceInterface|\phpDocumentor\Reflection\Fqsen> $implements) : void
\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\InterfaceInterface|\phpDocumentor\Reflection\Fqsen> | $implements |
setUsedTraits(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen> $usedTraits) : void
Sets a collection of all traits used by this class.
\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen> | $usedTraits |
getUsedTraits() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\TraitInterface|\phpDocumentor\Reflection\Fqsen>
Returns the traits used by this class.
Returned values may either be a string (when the Trait is not in this project) or a TraitDescriptor.