Copied!

Value Object representing the conditional type.

  • psalm-immutable
CloneableFinalInstantiable
Methods
public __construct(bool $negated, phpDocumentor\Reflection\Type $subjectType, phpDocumentor\Reflection\Type $targetType, phpDocumentor\Reflection\Type $if, phpDocumentor\Reflection\Type $else)
public __toString() : string
public getElse() : phpDocumentor\Reflection\Type
public getIf() : phpDocumentor\Reflection\Type
public getSubjectType() : phpDocumentor\Reflection\Type
public getTargetType() : phpDocumentor\Reflection\Type
public isNegated() : bool
public underlyingType() : phpDocumentor\Reflection\Type
Properties
private $else = NULL
 
  • var \Type
private $if = NULL
 
  • var \Type
private $negated = NULL
 
  • var bool
private $subjectType = NULL
 
  • var \Type
private $targetType = NULL
 
  • var \Type
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration