ReflectionTypeAlias
The ReflectionTypeAlias class reports information about a type alias
Interface Synopsis
class ReflectionTypeAlias implements Reflector {...}
Public Methods
-
->__construct(string $name)
Constructs a new ReflectionTypeAlias -
->getAssignedTypeText(): string
Get the assigned type as a string -
->getAttributeClass<T as HH\TypeAliasAttribute>(classname<T> $c): ?T
-
->getAttributesNamespaced(): darray<arraykey, varray<mixed>>
Gets all attributes -
->getFile(): ReflectionFile
Gets the declaring file for the reflected type alias -
->getFileName(): string
Get the name of the file in which the type alias was defined -
->getName(): string
Get the name of the type alias -
->getResolvedTypeStructure(): darray
Get the TypeStructure with type information resolved -
->getTypeStructure(): darray
Get the TypeStructure that contains the full type information of the assigned type