final | |
---|---|
implements |
CompoundType, LateResolvableType |
uses |
LateResolvableTypeTrait, NonGeneralizableTypeTrait |
Methods | ||
---|---|---|
public
|
__construct(string $parameterName, Type $target, Type $if, Type $else, bool $negated)
|
# |
public
|
getParameterName(): string
|
# |
public
|
getTarget(): Type
|
# |
public
|
getIf(): Type
|
# |
public
|
getElse(): Type
|
# |
public
|
isNegated(): bool
|
# |
public
|
changeParameterName(string $parameterName): self
|
# |
public
|
toConditional(Type $subject): Type
|
# |
public
|
isSuperTypeOf(Type $type): TrinaryLogic
|
# |
public
|
getReferencedClasses(): array
|
# |
public
|
getReferencedTemplateTypes(TemplateTypeVariance $positionVariance): array
|
# |
public
|
equals(Type $type): bool
|
# |
public
|
describe(VerbosityLevel $level): string
|
# |
public
|
isResolvable(): bool
|
# |
protected
|
getResult(): Type
|
# |
public
|
traverse(callable(Type): Type $cb): Type
|
# |
public
static
|
__set_state(mixed[] $properties): Type
|
# |