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): IsSuperTypeOfResult
|
# |
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 $cb): Type
|
# |
public
|
traverseSimultaneously(Type $right, callable $cb): Type
|
# |
public
|
toPhpDocNode(): TypeNode
|
# |