getNamespace()
getNamespace() : \phpDocumentor\Descriptor\Interfaces\NamespaceInterface|string
Returns the namespace for this element (defaults to global "\")
Describes the public interface for a descriptor of an Argument.
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.
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. |
setByReference(\phpDocumentor\Descriptor\ValueObjects\IsApplicable $byReference) : void
Sets whether this argument passes its parameter by reference or by value.
\phpDocumentor\Descriptor\ValueObjects\IsApplicable | $byReference | True if the parameter is passed by reference, otherwise it is by value. |