$fqsen
$fqsen : \phpDocumentor\Reflection\Fqsen
Descriptor representing a single Argument of a method or function.
$name : string
$namespace : \phpDocumentor\Descriptor\NamespaceDescriptor|string
$package : \phpDocumentor\Descriptor\PackageDescriptor|string
$summary : string
$description : \phpDocumentor\Descriptor\DocBlock\DescriptionDescriptor|null
$fileDescriptor : \phpDocumentor\Descriptor\FileDescriptor|null
$line : int
$tags : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TagDescriptor>>
$errors : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Validation\Error>
$inheritedElement : \phpDocumentor\Descriptor\DescriptorAbstract|null
$method : \phpDocumentor\Descriptor\MethodDescriptor
$type : \phpDocumentor\Reflection\Type|null
$default : string|null
$byReference : bool
$isVariadic : bool
getDescription() : ?\phpDocumentor\Descriptor\DocBlock\DescriptionDescriptor
Returns the description for this element.
This method will automatically attempt to inherit the parent's description if this one has none.
getTags() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TagDescriptor>>
Returns the tags associated with this element.
__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 |
setType(?\phpDocumentor\Reflection\Type $type) : 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\Reflection\Type | $type | Type of this agument represented as a reflection type. |