Methods | ||
---|---|---|
public
|
getReferencedClasses(): string[]
|
# |
public
|
accepts(Type $type, bool $strictTypes): TrinaryLogic
|
# |
public
|
isSuperTypeOf(Type $type): TrinaryLogic
|
# |
public
|
equals(Type $type): bool
|
# |
public
|
describe(VerbosityLevel $level): string
|
# |
public
|
canAccessProperties(): TrinaryLogic
|
# |
public
|
hasProperty(string $propertyName): TrinaryLogic
|
# |
public
|
getProperty(string $propertyName, ClassMemberAccessAnswerer $scope): PropertyReflection
|
# |
public
|
getUnresolvedPropertyPrototype(
string $propertyName,
ClassMemberAccessAnswerer $scope,
): UnresolvedPropertyPrototypeReflection
|
# |
public
|
canCallMethods(): TrinaryLogic
|
# |
public
|
hasMethod(string $methodName): TrinaryLogic
|
# |
public
|
getMethod(string $methodName, ClassMemberAccessAnswerer $scope): MethodReflection
|
# |
public
|
getUnresolvedMethodPrototype(string $methodName, ClassMemberAccessAnswerer $scope): UnresolvedMethodPrototypeReflection
|
# |
public
|
canAccessConstants(): TrinaryLogic
|
# |
public
|
hasConstant(string $constantName): TrinaryLogic
|
# |
public
|
getConstant(string $constantName): ConstantReflection
|
# |
public
|
isIterable(): TrinaryLogic
|
# |
public
|
isIterableAtLeastOnce(): TrinaryLogic
|
# |
public
|
getIterableKeyType(): Type
|
# |
public
|
getIterableValueType(): Type
|
# |
public
|
isArray(): TrinaryLogic
|
# |
public
|
isOversizedArray(): TrinaryLogic
|
# |
public
|
isOffsetAccessible(): TrinaryLogic
|
# |
public
|
hasOffsetValueType(Type $offsetType): TrinaryLogic
|
# |
public
|
getOffsetValueType(Type $offsetType): Type
|
# |
public
|
setOffsetValueType(?Type $offsetType, Type $valueType, bool $unionValues = true): Type
|
# |
public
|
unsetOffset(Type $offsetType): Type
|
# |
public
|
isCallable(): TrinaryLogic
|
# |
public
|
getCallableParametersAcceptors(ClassMemberAccessAnswerer $scope): ParametersAcceptor[]
|
# |
public
|
isCloneable(): TrinaryLogic
|
# |
public
|
toBoolean(): BooleanType
|
# |
public
|
toNumber(): Type
|
# |
public
|
toInteger(): Type
|
# |
public
|
toFloat(): Type
|
# |
public
|
toString(): Type
|
# |
public
|
toArray(): Type
|
# |
public
|
isSmallerThan(Type $otherType): TrinaryLogic
|
# |
public
|
isSmallerThanOrEqual(Type $otherType): TrinaryLogic
|
# |
public
|
isString(): TrinaryLogic
|
# |
public
|
isNumericString(): TrinaryLogic
|
# |
public
|
isNonEmptyString(): TrinaryLogic
|
# |
public
|
isNonFalsyString(): TrinaryLogic
|
# |
public
|
isLiteralString(): TrinaryLogic
|
# |
public
|
getSmallerType(): Type
|
# |
public
|
getSmallerOrEqualType(): Type
|
# |
public
|
getGreaterType(): Type
|
# |
public
|
getGreaterOrEqualType(): Type
|
# |
public
|
inferTemplateTypes(Type $receivedType): TemplateTypeMap
|
# |
public
|
getReferencedTemplateTypes(TemplateTypeVariance $positionVariance): TemplateTypeReference[]
|
# |
public
|
traverse(callable(Type): Type $cb): Type
|
# |
public
|
tryRemove(Type $typeToRemove): ?Type
|
# |
public
|
generalize(GeneralizePrecision $precision): Type
|
# |
public
static
|
__set_state(mixed[] $properties): self
|
# |