Copied!

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

  • psalm-immutable
CloneableFinalInstantiable
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 = NULL
 
  • var \Type The actual type that is wrapped
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration