final | |
---|---|
extends |
ConstantIntegerType |
implements |
TemplateType |
uses |
TemplateTypeTrait, UndecidedComparisonCompoundTypeTrait |
Methods | ||
---|---|---|
public
|
__construct(
TemplateTypeScope $scope,
TemplateTypeStrategy $templateTypeStrategy,
TemplateTypeVariance $templateTypeVariance,
non-empty-string $name,
ConstantIntegerType $bound,
?Type $default,
)
|
# |
protected
|
shouldGeneralizeInferredType(): bool
|
# |
Methods inherited from PHPStan\Type\Constant\ConstantIntegerType |
---|
getValue(), isSuperTypeOf(), describe(), toFloat(), toAbsoluteNumber(), toString(), toArrayKey(), generalize(), toPhpDocNode() |
Methods inherited from PHPStan\Type\IntegerType |
---|
getConstantStrings(), toNumber(), toInteger(), toArray(), isOffsetAccessLegal(), isNull(), isTrue(), isFalse(), isBoolean(), isFloat(), isInteger(), isScalar(), looseCompare(), tryRemove(), getFiniteTypes(), exponentiate(), |