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
|
generalize(GeneralizePrecision $precision): Type
|
# |
public
static
|
__set_state(mixed[] $properties): Type
|
# |
Methods inherited from PHPStan\Type\IntegerType |
---|
toNumber(), toInteger(), toArray(), tryRemove() |