ReflectionNamedType
class ReflectionNamedType extends ReflectionType (View source)
Methods
Details
bool
allowsNull()
Since: 7.0
Checks if null is allowed
bool
isBuiltin()
Since: 7.1 overrides the parent {@see \ReflectionType::isBuiltin()} method.
Checks if it is a built-in type
string
__toString()
Since: 7.0
To string
string
getName()
Since: 7.1
Get the text of the type hint.