Value Object representing a nullable type. The real type is wrapped.

CloneableFinalInstantiable
ImplementsphpDocumentor\Reflection\Type
Methods
public __construct(phpDocumentor\Reflection\Type $realType)
 
Initialises this nullable type using the real type embedded

public __toString() : string
 
Returns a rendered output of the Type as it would be used in a DocBlock.

public getActualType() : phpDocumentor\Reflection\Type
 
Provide access to the actual type directly, if needed.

Properties
private $realType
 


  • var Type The actual type that is wrapped
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only