extends |
IntegerType |
---|---|
implements |
ConstantScalarType |
uses |
ConstantScalarTypeTrait, ConstantScalarToBooleanTrait, ConstantNumericComparisonTypeTrait |
Methods | ||
---|---|---|
public
|
__construct(int $value)
|
# |
public
|
getValue(): int
|
# |
public
|
isSuperTypeOf(Type $type): TrinaryLogic
|
# |
public
|
describe(VerbosityLevel $level): string
|
# |
public
|
toFloat(): Type
|
# |
public
|
toString(): Type
|
# |
public
|
toArrayKey(): Type
|
# |
public
|
generalize(GeneralizePrecision $precision): Type
|
# |
public
|
toPhpDocNode(): ConstTypeNode
|
# |
public
static
|
__set_state(mixed[] $properties): Type
|
# |
Methods inherited from PHPStan\Type\IntegerType |
---|
getConstantStrings(), toNumber(), toInteger(), toArray(), isOffsetAccessLegal(), isNull(), isTrue(), isFalse(), isBoolean(), isFloat(), isInteger(), isScalar(), looseCompare(), tryRemove(), getFiniteTypes(), exponentiate(), |