implements
CompoundType, AccessoryType
uses
MaybeCallableTypeTrait, NonObjectTypeTrait, NonGenericTypeTrait, UndecidedBooleanTypeTrait, UndecidedComparisonCompoundTypeTrait, NonRemoveableTypeTrait, NonGeneralizableTypeTrait
public
__construct()
getReferencedClasses(): array
PHPStan\Type\Type::getReferencedClasses()
getArrays(): array
PHPStan\Type\Type::getArrays()
getConstantArrays(): array
PHPStan\Type\Type::getConstantArrays()
getConstantStrings(): array
PHPStan\Type\Type::getConstantStrings()
accepts(Type $type, bool $strictTypes): TrinaryLogic
PHPStan\Type\Type::accepts()
isSuperTypeOf(Type $type): TrinaryLogic
PHPStan\Type\Type::isSuperTypeOf()
isSubTypeOf(Type $otherType): TrinaryLogic
PHPStan\Type\CompoundType::isSubTypeOf()
isAcceptedBy(Type $acceptingType, bool $strictTypes): TrinaryLogic
PHPStan\Type\CompoundType::isAcceptedBy()
equals(Type $type): bool
PHPStan\Type\Type::equals()
describe(VerbosityLevel $level): string
PHPStan\Type\Type::describe()
isOffsetAccessible(): TrinaryLogic
PHPStan\Type\Type::isOffsetAccessible()
hasOffsetValueType(Type $offsetType): TrinaryLogic
PHPStan\Type\Type::hasOffsetValueType()
getOffsetValueType(Type $offsetType): Type
PHPStan\Type\Type::getOffsetValueType()
setOffsetValueType(?Type $offsetType, Type $valueType, bool $unionValues = true): Type
PHPStan\Type\Type::setOffsetValueType()
unsetOffset(Type $offsetType): Type
PHPStan\Type\Type::unsetOffset()
getKeysArray(): Type
PHPStan\Type\Type::getKeysArray()
getValuesArray(): Type
PHPStan\Type\Type::getValuesArray()
fillKeysArray(Type $valueType): Type
PHPStan\Type\Type::fillKeysArray()
flipArray(): Type
PHPStan\Type\Type::flipArray()
intersectKeyArray(Type $otherArraysType): Type
PHPStan\Type\Type::intersectKeyArray()
popArray(): Type
PHPStan\Type\Type::popArray()
searchArray(Type $needleType): Type
PHPStan\Type\Type::searchArray()
shiftArray(): Type
PHPStan\Type\Type::shiftArray()
shuffleArray(): Type
PHPStan\Type\Type::shuffleArray()
isIterable(): TrinaryLogic
PHPStan\Type\Type::isIterable()
isIterableAtLeastOnce(): TrinaryLogic
PHPStan\Type\Type::isIterableAtLeastOnce()
getArraySize(): Type
PHPStan\Type\Type::getArraySize()
getIterableKeyType(): Type
PHPStan\Type\Type::getIterableKeyType()
getFirstIterableKeyType(): Type
PHPStan\Type\Type::getFirstIterableKeyType()
getLastIterableKeyType(): Type
PHPStan\Type\Type::getLastIterableKeyType()
getIterableValueType(): Type
PHPStan\Type\Type::getIterableValueType()
getFirstIterableValueType(): Type
PHPStan\Type\Type::getFirstIterableValueType()
getLastIterableValueType(): Type
PHPStan\Type\Type::getLastIterableValueType()
isArray(): TrinaryLogic
PHPStan\Type\Type::isArray()
isConstantArray(): TrinaryLogic
PHPStan\Type\Type::isConstantArray()
isOversizedArray(): TrinaryLogic
PHPStan\Type\Type::isOversizedArray()
isList(): TrinaryLogic
PHPStan\Type\Type::isList()
isNull(): TrinaryLogic
PHPStan\Type\Type::isNull()
isTrue(): TrinaryLogic
PHPStan\Type\Type::isTrue()
isFalse(): TrinaryLogic
PHPStan\Type\Type::isFalse()
isBoolean(): TrinaryLogic
PHPStan\Type\Type::isBoolean()
isFloat(): TrinaryLogic
PHPStan\Type\Type::isFloat()
isInteger(): TrinaryLogic
PHPStan\Type\Type::isInteger()
isString(): TrinaryLogic
PHPStan\Type\Type::isString()
isNumericString(): TrinaryLogic
PHPStan\Type\Type::isNumericString()
isNonEmptyString(): TrinaryLogic
PHPStan\Type\Type::isNonEmptyString()
isNonFalsyString(): TrinaryLogic
PHPStan\Type\Type::isNonFalsyString()
isLiteralString(): TrinaryLogic
PHPStan\Type\Type::isLiteralString()
isClassStringType(): TrinaryLogic
PHPStan\Type\Type::isClassStringType()
isVoid(): TrinaryLogic
PHPStan\Type\Type::isVoid()
isScalar(): TrinaryLogic
PHPStan\Type\Type::isScalar()
toNumber(): Type
PHPStan\Type\Type::toNumber()
toInteger(): Type
PHPStan\Type\Type::toInteger()
toFloat(): Type
PHPStan\Type\Type::toFloat()
toString(): Type
PHPStan\Type\Type::toString()
toArray(): Type
PHPStan\Type\Type::toArray()
toArrayKey(): Type
PHPStan\Type\Type::toArrayKey()
traverse(callable $cb): Type
Traverses inner types
Returns a new instance with all inner types mapped through $cb. Might return the same instance if inner types did not change.
PHPStan\Type\Type::traverse()
public static
__set_state(array $properties): Type
PHPStan\Type\Type::__set_state()
setListTypeEnabled(bool $enabled): void
isListTypeEnabled(): bool
intersectWith(Type $type): Type