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
|
toAbsoluteNumber(): Type
|
# |
public
|
toString(): Type
|
# |
public
|
toArrayKey(): Type
|
# |
public
|
generalize(GeneralizePrecision $precision): Type
|
# |
public
|
toPhpDocNode(): ConstTypeNode
|
# |
Methods inherited from PHPStan\Type\IntegerType |
---|
getConstantStrings(), toNumber(), toInteger(), toArray(), isOffsetAccessLegal(), isNull(), isTrue(), isFalse(), isBoolean(), isFloat(), isInteger(), isScalar(), looseCompare(), tryRemove(), getFiniteTypes(), exponentiate(), |