$fqsen
$fqsen : string
Descriptor representing a single Argument of a method or function.
$namespace : \phpDocumentor\Descriptor\NamespaceDescriptor
$fileDescriptor : \phpDocumentor\Descriptor\FileDescriptor|null
$tags : \phpDocumentor\Descriptor\Collection
$errors : \phpDocumentor\Descriptor\Collection
$inheritedElement : \phpDocumentor\Descriptor\DescriptorAbstract|null
$method : \phpDocumentor\Descriptor\MethodDescriptor
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() : null|\phpDocumentor\Descriptor\ArgumentDescriptor
setMethod(\phpDocumentor\Descriptor\MethodDescriptor $method)
To which method does this argument belong to
\phpDocumentor\Descriptor\MethodDescriptor | $method |
setTypes(\phpDocumentor\Descriptor\Collection $types) : void
Sets a normalized list of types that the argument represents.
Arguments should have one of the types mentioned in this array. If this array is empty than that is considered
to be the type mixed
(meaning: can be anything).
Any Type representing a class/interface/trait should be normalized to its complete FQCN, including preceding backslash. Types that do not represent a class/interface/trait should be written in lowercaps and should not be preceded by a backslash.
\phpDocumentor\Descriptor\Collection | $types | An Collection of normalized types that should be in this Argument |
getTypes() : \phpDocumentor\Descriptor\Collection
Returns a normalized list of types.