$fqsen
$fqsen : string
Descriptor representing a Class.
$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\ClassDescriptor|null
$implements : \phpDocumentor\Descriptor\Collection
$constants : \phpDocumentor\Descriptor\Collection
$properties : \phpDocumentor\Descriptor\Collection
$methods : \phpDocumentor\Descriptor\Collection
$usedTraits : \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.
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
setInterfaces(\phpDocumentor\Descriptor\Collection $implements) : void
\phpDocumentor\Descriptor\Collection | $implements |
getInterfaces() : \phpDocumentor\Descriptor\Collection
setConstants(\phpDocumentor\Descriptor\Collection $constants) : void
\phpDocumentor\Descriptor\Collection | $constants |
getConstants() : \phpDocumentor\Descriptor\Collection
setMethods(\phpDocumentor\Descriptor\Collection $methods) : void
\phpDocumentor\Descriptor\Collection | $methods |
getMethods() : \phpDocumentor\Descriptor\Collection
getInheritedMethods() : \phpDocumentor\Descriptor\Collection
getMagicMethods() : \phpDocumentor\Descriptor\Collection
setProperties(\phpDocumentor\Descriptor\Collection $properties) : void
\phpDocumentor\Descriptor\Collection | $properties |
getProperties() : \phpDocumentor\Descriptor\Collection
getInheritedProperties() : \phpDocumentor\Descriptor\Collection
getMagicProperties() : \phpDocumentor\Descriptor\Collection
setUsedTraits(\phpDocumentor\Descriptor\Collection $usedTraits) : void
Sets a collection of all traits used by this class.
\phpDocumentor\Descriptor\Collection | $usedTraits |
getUsedTraits() : \phpDocumentor\Descriptor\Collection
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.