Copied!

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

  • psalm-immutable
Cloneable Final Instantiable
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
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration