extends |
ObjectType |
---|
Methods | ||
---|---|---|
public
|
__construct(string $className, string $enumCaseName, ?ClassReflection $classReflection = null)
|
# |
public
|
getEnumCaseName(): string
|
# |
public
|
describe(VerbosityLevel $level): string
|
# |
public
|
equals(Type $type): bool
|
# |
public
|
accepts(Type $type, bool $strictTypes): TrinaryLogic
|
# |
public
|
acceptsWithReason(Type $type, bool $strictTypes): AcceptsResult
|
# |
public
|
isSuperTypeOf(Type $type): TrinaryLogic
|
# |
public
|
subtract(Type $type): Type
|
# |
public
|
getTypeWithoutSubtractedType(): Type
|
# |
public
|
changeSubtractedType(?Type $subtractedType): Type
|
# |
public
|
getSubtractedType(): ?Type
|
# |
public
|
tryRemove(Type $typeToRemove): ?Type
|
# |
public
|
getUnresolvedPropertyPrototype(
string $propertyName,
ClassMemberAccessAnswerer $scope,
): UnresolvedPropertyPrototypeReflection
|
# |
public
|
getBackingValueType(): ?Type
|
# |
public
|
generalize(GeneralizePrecision $precision): Type
|
# |
public
|
isSmallerThan(Type $otherType): TrinaryLogic
|
# |
public
|
isSmallerThanOrEqual(Type $otherType): TrinaryLogic
|
# |
public
|
getEnumCases(): array
|
# |
public
|
toPhpDocNode(): TypeNode
|
# |
public
static
|
__set_state(mixed[] $properties): Type
|
# |