public static
getArrays(Type $type): ArrayType[]
getConstantArrays(Type $type): ConstantArrayType[]
getConstantStrings(Type $type): ConstantStringType[]
getConstantIntegers(Type $type): ConstantIntegerType[]
getConstantTypes(Type $type): ConstantType[]
getAnyConstantTypes(Type $type): ConstantType[]
getAnyArrays(Type $type): ArrayType[]
generalizeType(Type $type, GeneralizePrecision $precision): Type
Use PHPStan\Type\Type::generalize() instead.
getDirectClassNames(Type $type): string[]
getIntegerRanges(Type $type): IntegerRangeType[]
getConstantScalars(Type $type): ConstantScalarType[]
getEnumCaseObjects(Type $type): EnumCaseObjectType[]
toBenevolentUnion(Type $type): Type
flattenTypes(Type $type): Type[]
findThisType(Type $type): ?ThisType
getHasPropertyTypes(Type $type): HasPropertyType[]
getAccessoryTypes(Type $type): AccessoryType[]
containsCallable(Type $type): bool
Use PHPStan\Type\Type::isCallable() instead.
containsTemplateType(Type $type): bool
resolveLateResolvableTypes(Type $type, bool $resolveUnresolvableTypes = true): Type