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