| Methods |
public
|
getObjectClassNames(): array
|
#
|
public
|
getObjectClassReflections(): array
|
#
|
public
|
getArrays(): array
|
#
|
public
|
getConstantArrays(): array
|
#
|
public
|
getConstantStrings(): array
|
#
|
public
|
accepts(Type $type, bool $strictTypes): AcceptsResult
|
#
|
public
|
isSuperTypeOf(Type $type): IsSuperTypeOfResult
|
#
|
public
|
getTemplateType(string $ancestorClassName, string $templateTypeName): Type
|
#
|
public
|
isObject(): TrinaryLogic
|
#
|
public
|
getClassStringType(): Type
|
#
|
public
|
isEnum(): TrinaryLogic
|
#
|
public
|
canAccessProperties(): TrinaryLogic
|
#
|
public
|
hasProperty(string $propertyName): TrinaryLogic
|
#
|
public
|
getProperty(string $propertyName, ClassMemberAccessAnswerer $scope): ExtendedPropertyReflection
|
#
|
public
|
getUnresolvedPropertyPrototype(
string $propertyName,
ClassMemberAccessAnswerer $scope,
): UnresolvedPropertyPrototypeReflection
|
#
|
public
|
hasInstanceProperty(string $propertyName): TrinaryLogic
|
#
|
public
|
getInstanceProperty(string $propertyName, ClassMemberAccessAnswerer $scope): ExtendedPropertyReflection
|
#
|
public
|
getUnresolvedInstancePropertyPrototype(
string $propertyName,
ClassMemberAccessAnswerer $scope,
): UnresolvedPropertyPrototypeReflection
|
#
|
public
|
hasStaticProperty(string $propertyName): TrinaryLogic
|
#
|
public
|
getStaticProperty(string $propertyName, ClassMemberAccessAnswerer $scope): ExtendedPropertyReflection
|
#
|
public
|
getUnresolvedStaticPropertyPrototype(
string $propertyName,
ClassMemberAccessAnswerer $scope,
): UnresolvedPropertyPrototypeReflection
|
#
|
public
|
canCallMethods(): TrinaryLogic
|
#
|
public
|
hasMethod(string $methodName): TrinaryLogic
|
#
|
public
|
getMethod(string $methodName, ClassMemberAccessAnswerer $scope): ExtendedMethodReflection
|
#
|
public
|
getUnresolvedMethodPrototype(string $methodName, ClassMemberAccessAnswerer $scope): UnresolvedMethodPrototypeReflection
|
#
|
public
|
canAccessConstants(): TrinaryLogic
|
#
|
public
|
hasConstant(string $constantName): TrinaryLogic
|
#
|
public
|
getConstant(string $constantName): ClassConstantReflection
|
#
|
public
|
isIterable(): TrinaryLogic
|
#
|
public
|
isIterableAtLeastOnce(): TrinaryLogic
|
#
|
public
|
getArraySize(): Type
|
#
|
public
|
getIterableKeyType(): Type
|
#
|
public
|
getFirstIterableKeyType(): Type
|
#
|
public
|
getLastIterableKeyType(): Type
|
#
|
public
|
getIterableValueType(): Type
|
#
|
public
|
getFirstIterableValueType(): Type
|
#
|
public
|
getLastIterableValueType(): Type
|
#
|
public
|
isArray(): TrinaryLogic
|
#
|
public
|
isConstantArray(): TrinaryLogic
|
#
|
public
|
isOversizedArray(): TrinaryLogic
|
#
|
public
|
isList(): TrinaryLogic
|
#
|
public
|
isOffsetAccessible(): TrinaryLogic
|
#
|
public
|
isOffsetAccessLegal(): TrinaryLogic
|
#
|
public
|
hasOffsetValueType(Type $offsetType): TrinaryLogic
|
#
|
public
|
getOffsetValueType(Type $offsetType): Type
|
#
|
public
|
setOffsetValueType(?Type $offsetType, Type $valueType, bool $unionValues = true): Type
|
#
|
public
|
setExistingOffsetValueType(Type $offsetType, Type $valueType): Type
|
#
|
public
|
unsetOffset(Type $offsetType): Type
|
#
|
public
|
getKeysArrayFiltered(Type $filterValueType, TrinaryLogic $strict): Type
|
#
|
public
|
getKeysArray(): Type
|
#
|
public
|
getValuesArray(): Type
|
#
|
public
|
chunkArray(Type $lengthType, TrinaryLogic $preserveKeys): Type
|
#
|
public
|
fillKeysArray(Type $valueType): Type
|
#
|
public
|
flipArray(): Type
|
#
|
public
|
intersectKeyArray(Type $otherArraysType): Type
|
#
|
public
|
popArray(): Type
|
#
|
public
|
reverseArray(TrinaryLogic $preserveKeys): Type
|
#
|
public
|
searchArray(Type $needleType, ?TrinaryLogic $strict = null): Type
|
#
|
public
|
shiftArray(): Type
|
#
|
public
|
shuffleArray(): Type
|
#
|
public
|
sliceArray(Type $offsetType, Type $lengthType, TrinaryLogic $preserveKeys): Type
|
#
|
public
|
spliceArray(Type $offsetType, Type $lengthType, Type $replacementType): Type
|
#
|
public
|
truncateListToSize(Type $sizeType): Type
|
#
|
public
|
makeListMaybe(): Type
|
#
|
public
|
mapValueType(callable $cb): Type
|
#
|
public
|
mapKeyType(callable $cb): Type
|
#
|
public
|
makeAllArrayKeysOptional(): Type
|
#
|
public
|
changeKeyCaseArray(?int $case): Type
|
#
|
public
|
filterArrayRemovingFalsey(): Type
|
#
|
public
|
isCallable(): TrinaryLogic
|
#
|
public
|
getEnumCases(): array
|
#
|
public
|
getEnumCaseObject(): ?EnumCaseObjectType
|
#
|
public
|
getCallableParametersAcceptors(ClassMemberAccessAnswerer $scope): array
|
#
|
public
|
isCloneable(): TrinaryLogic
|
#
|
public
|
toBoolean(): BooleanType
|
#
|
public
|
toNumber(): Type
|
#
|
public
|
toBitwiseNotType(): Type
|
#
|
public
|
toGetClassResultType(): Type
|
#
|
public
|
toClassConstantType(ReflectionProvider $reflectionProvider): Type
|
#
|
public
|
toObjectTypeForInstanceofCheck(): ClassNameToObjectTypeResult
|
#
|
public
|
toObjectTypeForIsACheck(Type $objectOrClassType, bool $allowString, bool $allowSameClass): ClassNameToObjectTypeResult
|
#
|
public
|
toAbsoluteNumber(): Type
|
#
|
public
|
toInteger(): Type
|
#
|
public
|
toFloat(): Type
|
#
|
public
|
toString(): Type
|
#
|
public
|
toArray(): Type
|
#
|
public
|
toArrayKey(): Type
|
#
|
public
|
toCoercedArgumentType(bool $strictTypes): Type
|
#
|
public
|
isSmallerThan(Type $otherType, PhpVersion $phpVersion): TrinaryLogic
|
#
|
public
|
isSmallerThanOrEqual(Type $otherType, PhpVersion $phpVersion): TrinaryLogic
|
#
|
public
|
isNull(): TrinaryLogic
|
#
|
public
|
isConstantValue(): TrinaryLogic
|
#
|
public
|
isConstantScalarValue(): TrinaryLogic
|
#
|
public
|
getConstantScalarTypes(): array
|
#
|
public
|
getConstantScalarValues(): array
|
#
|
public
|
isTrue(): TrinaryLogic
|
#
|
public
|
isFalse(): TrinaryLogic
|
#
|
public
|
isBoolean(): TrinaryLogic
|
#
|
public
|
isFloat(): TrinaryLogic
|
#
|
public
|
isInteger(): TrinaryLogic
|
#
|
public
|
isString(): TrinaryLogic
|
#
|
public
|
isNumericString(): TrinaryLogic
|
#
|
public
|
isDecimalIntegerString(): TrinaryLogic
|
#
|
public
|
isNonEmptyString(): TrinaryLogic
|
#
|
public
|
isNonFalsyString(): TrinaryLogic
|
#
|
public
|
isLiteralString(): TrinaryLogic
|
#
|
public
|
isLowercaseString(): TrinaryLogic
|
#
|
public
|
isUppercaseString(): TrinaryLogic
|
#
|
public
|
isClassString(): TrinaryLogic
|
#
|
public
|
getClassStringObjectType(): Type
|
#
|
public
|
getObjectTypeOrClassStringObjectType(): Type
|
#
|
public
|
isVoid(): TrinaryLogic
|
#
|
public
|
isScalar(): TrinaryLogic
|
#
|
public
|
looseCompare(Type $type, PhpVersion $phpVersion): BooleanType
|
#
|
public
|
getSmallerType(PhpVersion $phpVersion): Type
|
#
|
public
|
getSmallerOrEqualType(PhpVersion $phpVersion): Type
|
#
|
public
|
getGreaterType(PhpVersion $phpVersion): Type
|
#
|
public
|
getGreaterOrEqualType(PhpVersion $phpVersion): Type
|
#
|
public
|
inferTemplateTypes(Type $receivedType): TemplateTypeMap
|
#
|
public
|
tryRemove(Type $typeToRemove): ?Type
|
#
|
public
|
isSubTypeOf(Type $otherType): IsSuperTypeOfResult
|
#
|
public
|
isAcceptedBy(Type $acceptingType, bool $strictTypes): AcceptsResult
|
#
|
public
|
isGreaterThan(Type $otherType, PhpVersion $phpVersion): TrinaryLogic
|
#
|
public
|
isGreaterThanOrEqual(Type $otherType, PhpVersion $phpVersion): TrinaryLogic
|
#
|
public
|
exponentiate(Type $exponent): Type
|
#
|
public
|
getFiniteTypes(): array
|
#
|
public
|
resolve(): Type
|
#
|
abstract
protected
|
getResult(): Type
|
#
|
public
|
toNativePhpTypeNode(NativeTypePosition $position)
|
#
|
public
|
hasTemplateOrLateResolvableType(): bool
|
#
|