$fqsen
$fqsen : \phpDocumentor\Reflection\Fqsen
Descriptor representing a Enum.
$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
$implements : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\InterfaceDescriptor|\phpDocumentor\Reflection\Fqsen>
References to interfaces that are implemented by this enum.
$methods : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\MethodDescriptor>
$usedTraits : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TraitDescriptor>|\phpDocumentor\Descriptor\Collection<\phpDocumentor\Reflection\Fqsen>
$cases : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Interfaces\EnumCaseInterface>
$backedType : \phpDocumentor\Reflection\Type|null
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 |
setUsedTraits(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TraitDescriptor>|\phpDocumentor\Descriptor\Collection<\phpDocumentor\Reflection\Fqsen> $usedTraits) : void
Sets a collection of all traits used by this class.
\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TraitDescriptor>|\phpDocumentor\Descriptor\Collection<\phpDocumentor\Reflection\Fqsen> | $usedTraits |
getUsedTraits() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TraitDescriptor>|\phpDocumentor\Descriptor\Collection<\phpDocumentor\Reflection\Fqsen>
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.