final | |
---|---|
extends |
ConstantStringType |
implements |
TemplateType |
uses |
TemplateTypeTrait, UndecidedComparisonCompoundTypeTrait |
Methods | ||
---|---|---|
public
|
__construct(
TemplateTypeScope $scope,
TemplateTypeStrategy $templateTypeStrategy,
TemplateTypeVariance $templateTypeVariance,
string $name,
ConstantStringType $bound,
)
|
# |
protected
|
shouldGeneralizeInferredType(): bool
|
# |
Methods inherited from PHPStan\Type\StringType |
---|
isOffsetAccessible(), unsetOffset(), accepts(), toString(), toArray(), tryRemove(), |