extends
StringType
implements
ConstantScalarType
uses
ConstantScalarTypeTrait, ConstantScalarToBooleanTrait
public
__construct(string $value, bool $isClassString = false)
PHPStan\Type\StringType::__construct()
PHPStan\Type\Generic\TemplateConstantStringType::__construct()
getValue(): string
PHPStan\Type\ConstantScalarType::getValue()
getConstantStrings(): array
PHPStan\Type\StringType::getConstantStrings()
PHPStan\Type\Type::getConstantStrings()
isClassString(): TrinaryLogic
PHPStan\Type\StringType::isClassString()
PHPStan\Type\Type::isClassString()
getClassStringObjectType(): Type
Returns object type Foo for class-string<Foo> and 'Foo' (if Foo is a valid class).
PHPStan\Type\StringType::getClassStringObjectType()
PHPStan\Type\Type::getClassStringObjectType()
getObjectTypeOrClassStringObjectType(): Type
Returns object type Foo for class-string<Foo>, 'Foo' (if Foo is a valid class), and object type Foo.
PHPStan\Type\StringType::getObjectTypeOrClassStringObjectType()
PHPStan\Type\Type::getObjectTypeOrClassStringObjectType()
describe(VerbosityLevel $level): string
PHPStan\Type\StringType::describe()
PHPStan\Type\Type::describe()
isSuperTypeOf(Type $type): IsSuperTypeOfResult
PHPStan\Type\Type::isSuperTypeOf()
isCallable(): TrinaryLogic
PHPStan\Type\Type::isCallable()
getCallableParametersAcceptors(ClassMemberAccessAnswerer $scope): array
PHPStan\Type\Type::getCallableParametersAcceptors()
toNumber(): Type
PHPStan\Type\StringType::toNumber()
PHPStan\Type\Type::toNumber()
toAbsoluteNumber(): Type
PHPStan\Type\StringType::toAbsoluteNumber()
PHPStan\Type\Type::toAbsoluteNumber()
toInteger(): Type
PHPStan\Type\StringType::toInteger()
PHPStan\Type\Type::toInteger()
toFloat(): Type
PHPStan\Type\StringType::toFloat()
PHPStan\Type\Type::toFloat()
toArrayKey(): Type
PHPStan\Type\StringType::toArrayKey()
PHPStan\Type\Type::toArrayKey()
isString(): TrinaryLogic
PHPStan\Type\StringType::isString()
PHPStan\Type\Type::isString()
isNumericString(): TrinaryLogic
PHPStan\Type\StringType::isNumericString()
PHPStan\Type\Type::isNumericString()
isNonEmptyString(): TrinaryLogic
PHPStan\Type\StringType::isNonEmptyString()
PHPStan\Type\Type::isNonEmptyString()
isNonFalsyString(): TrinaryLogic
PHPStan\Type\StringType::isNonFalsyString()
PHPStan\Type\Type::isNonFalsyString()
isLiteralString(): TrinaryLogic
PHPStan\Type\StringType::isLiteralString()
PHPStan\Type\Type::isLiteralString()
isLowercaseString(): TrinaryLogic
PHPStan\Type\StringType::isLowercaseString()
PHPStan\Type\Type::isLowercaseString()
isUppercaseString(): TrinaryLogic
PHPStan\Type\StringType::isUppercaseString()
PHPStan\Type\Type::isUppercaseString()
hasOffsetValueType(Type $offsetType): TrinaryLogic
PHPStan\Type\StringType::hasOffsetValueType()
PHPStan\Type\Type::hasOffsetValueType()
getOffsetValueType(Type $offsetType): Type
PHPStan\Type\StringType::getOffsetValueType()
PHPStan\Type\Type::getOffsetValueType()
setOffsetValueType(?Type $offsetType, Type $valueType, bool $unionValues = true): Type
PHPStan\Type\StringType::setOffsetValueType()
PHPStan\Type\Type::setOffsetValueType()
setExistingOffsetValueType(Type $offsetType, Type $valueType): Type
PHPStan\Type\StringType::setExistingOffsetValueType()
PHPStan\Type\Type::setExistingOffsetValueType()
append(self $otherString): self
generalize(GeneralizePrecision $precision): Type
PHPStan\Type\Type::generalize()
getSmallerType(PhpVersion $phpVersion): Type
PHPStan\Type\Type::getSmallerType()
getSmallerOrEqualType(PhpVersion $phpVersion): Type
PHPStan\Type\Type::getSmallerOrEqualType()
getGreaterType(PhpVersion $phpVersion): Type
PHPStan\Type\Type::getGreaterType()
getGreaterOrEqualType(PhpVersion $phpVersion): Type
PHPStan\Type\Type::getGreaterOrEqualType()
canAccessConstants(): TrinaryLogic
PHPStan\Type\Type::canAccessConstants()
hasConstant(string $constantName): TrinaryLogic
PHPStan\Type\Type::hasConstant()
getConstant(string $constantName): ClassConstantReflection
PHPStan\Type\Type::getConstant()
toPhpDocNode(): TypeNode
PHPStan\Type\StringType::toPhpDocNode()
PHPStan\Type\Type::toPhpDocNode()
isOffsetAccessible(), isOffsetAccessLegal(), unsetOffset(), accepts(), toString(), toArray(), isNull(), isTrue(), isFalse(), isBoolean(), isFloat(), isInteger(), isScalar(), looseCompare(), hasMethod(), tryRemove(), getFiniteTypes(), exponentiate(),