$fqsen
$fqsen : string
Represents a namespace and its children for a project.
$namespace : \phpDocumentor\Descriptor\NamespaceDescriptor
$fileDescriptor : \phpDocumentor\Descriptor\FileDescriptor|null
$tags : \phpDocumentor\Descriptor\Collection
$errors : \phpDocumentor\Descriptor\Collection
$inheritedElement : \phpDocumentor\Descriptor\DescriptorAbstract|null
$parent : \phpDocumentor\Descriptor\NamespaceDescriptor
$children : \phpDocumentor\Descriptor\Collection
$functions : \phpDocumentor\Descriptor\Collection
$constants : \phpDocumentor\Descriptor\Collection
$classes : \phpDocumentor\Descriptor\Collection
$interfaces : \phpDocumentor\Descriptor\Collection
$traits : \phpDocumentor\Descriptor\Collection
setNamespace(\phpDocumentor\Descriptor\NamespaceDescriptor|string $namespace)
Sets the namespace (name) for this element.
\phpDocumentor\Descriptor\NamespaceDescriptor|string | $namespace |
getNamespace() : \phpDocumentor\Descriptor\NamespaceDescriptor|string|null
Returns the namespace for this element or null if none is attached.
setLocation(\phpDocumentor\Descriptor\FileDescriptor $file, integer $line) : void
Sets the file and linenumber where this element is at.
\phpDocumentor\Descriptor\FileDescriptor | $file | |
integer | $line |
getFile() : \phpDocumentor\Descriptor\FileDescriptor|null
Returns the file in which this element resides or null in case the element is not bound to a file.
.
setFile(\phpDocumentor\Descriptor\FileDescriptor $file) : false
Sets the file to which this element is associated.
\phpDocumentor\Descriptor\FileDescriptor | $file |
setTags(\phpDocumentor\Descriptor\Collection $tags) : void
Sets the tags associated with this element.
\phpDocumentor\Descriptor\Collection | $tags |
getTags() : \phpDocumentor\Descriptor\Collection
Returns the tags associated with this element.
setPackage(\phpDocumentor\Descriptor\PackageDescriptor $package) : void
Sets the name of the package to which this element belongs.
\phpDocumentor\Descriptor\PackageDescriptor | $package |
getPackage() : \phpDocumentor\Descriptor\PackageDescriptor
Returns the package name for this element.
getAuthor() : \phpDocumentor\Descriptor\Collection
getVersion() : \phpDocumentor\Descriptor\Collection
Returns the versions for this element.
getCopyright() : \phpDocumentor\Descriptor\Collection
Returns the copyrights for this element.
setErrors(\phpDocumentor\Descriptor\Collection $errors) : void
Sets a list of all errors associated with this element.
\phpDocumentor\Descriptor\Collection | $errors |
getErrors() : \phpDocumentor\Descriptor\Collection
Returns all errors that occur in this element.
__call(string $name, array<mixed,mixed> $arguments) : \phpDocumentor\Descriptor\Collection|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<mixed,mixed> | $arguments |
getInheritedElement() : \phpDocumentor\Descriptor\DescriptorAbstract|null
setParent(\phpDocumentor\Descriptor\NamespaceDescriptor $parent) : void
Sets the parent namespace for this namespace.
\phpDocumentor\Descriptor\NamespaceDescriptor | $parent |
getParent() : \phpDocumentor\Descriptor\NamespaceDescriptor|null
Returns the parent namespace for this namespace.
setClasses(\phpDocumentor\Descriptor\Collection $classes) : void
Sets a list of all classes in this project.
\phpDocumentor\Descriptor\Collection | $classes |
getClasses() : \phpDocumentor\Descriptor\Collection
Returns a list of all classes in this namespace.
setConstants(\phpDocumentor\Descriptor\Collection $constants) : void
Sets a list of all constants in this namespace.
\phpDocumentor\Descriptor\Collection | $constants |
getConstants() : \phpDocumentor\Descriptor\Collection
Returns a list of all constants in this namespace.
setFunctions(\phpDocumentor\Descriptor\Collection $functions) : void
Sets a list of all functions in this namespace.
\phpDocumentor\Descriptor\Collection | $functions |
getFunctions() : \phpDocumentor\Descriptor\Collection
Returns a list of all functions in this namespace.
setInterfaces(\phpDocumentor\Descriptor\Collection $interfaces) : void
Sets a list of all interfaces in this namespace.
\phpDocumentor\Descriptor\Collection | $interfaces |
getInterfaces() : \phpDocumentor\Descriptor\Collection
Returns a list of all interfaces in this namespace.
setChildren(\phpDocumentor\Descriptor\Collection $children) : void
Sets a list of all child namespaces in this namespace.
\phpDocumentor\Descriptor\Collection | $children |
getChildren() : \phpDocumentor\Descriptor\Collection
Returns a list of all namespaces contained in this namespace and its children.
setTraits(\phpDocumentor\Descriptor\Collection $traits) : void
Sets a list of all traits contained in this namespace.
\phpDocumentor\Descriptor\Collection | $traits |
getTraits() : \phpDocumentor\Descriptor\Collection
Returns a list of all traits in this namespace.