implements |
Type |
---|---|
uses |
JustNullableTypeTrait, NonArrayTypeTrait, NonCallableTypeTrait, NonIterableTypeTrait, NonObjectTypeTrait, UndecidedBooleanTypeTrait, UndecidedComparisonTypeTrait, NonGenericTypeTrait, NonOffsetAccessibleTypeTrait, NonGeneralizableTypeTrait |
Methods | ||
---|---|---|
public
|
__construct()
|
# |
public
|
describe(VerbosityLevel $level): string
|
# |
public
|
getConstantStrings(): array
|
# |
public
|
toNumber(): Type
|
# |
public
|
toAbsoluteNumber(): Type
|
# |
public
|
toFloat(): Type
|
# |
public
|
toInteger(): Type
|
# |
public
|
toString(): Type
|
# |
public
|
toArray(): Type
|
# |
public
|
toArrayKey(): Type
|
# |
public
|
isOffsetAccessLegal(): TrinaryLogic
|
# |
public
|
isNull(): TrinaryLogic
|
# |
public
|
isTrue(): TrinaryLogic
|
# |
public
|
isFalse(): TrinaryLogic
|
# |
public
|
isBoolean(): TrinaryLogic
|
# |
public
|
isFloat(): TrinaryLogic
|
# |
public
|
isInteger(): TrinaryLogic
|
# |
public
|
isScalar(): TrinaryLogic
|
# |
public
|
looseCompare(Type $type, PhpVersion $phpVersion): BooleanType
|
# |
public
|
tryRemove(Type $typeToRemove): ?Type
|
# |
public
|
getFiniteTypes(): array
|
# |
public
|
exponentiate(Type $exponent): Type
|
# |
public
|
toPhpDocNode(): TypeNode
|
# |