extends |
StaticType |
---|
Methods | ||
---|---|---|
public
|
__construct(
ClassReflection $classReflection,
array<int, Type> $types,
?Type $subtractedType,
array<int, TemplateTypeVariance> $variances,
)
|
# |
public
|
getTypes(): array<int, Type>
|
# |
public
|
getVariances(): array<int, TemplateTypeVariance>
|
# |
public
|
getStaticObjectType(): ObjectType
|
# |
public
|
changeBaseClass(ClassReflection $classReflection): StaticType
|
# |
public
|
isSuperTypeOf(Type $type): IsSuperTypeOfResult
|
# |
public
|
traverse(callable $cb): Type
|
# |
public
|
traverseSimultaneously(Type $right, callable $cb): Type
|
# |
public
|
changeSubtractedType(?Type $subtractedType): Type
|
# |
public
|
inferTemplateTypes(Type $receivedType): TemplateTypeMap
|
# |
public
|
getReferencedTemplateTypes(TemplateTypeVariance $positionVariance): array
|
# |
public
|
toPhpDocNode(): TypeNode
|
# |