Methods |
public
|
__construct(string $value, bool $isClassString = false)
|
#
|
public
|
getValue(): string
|
#
|
public
|
getConstantStrings(): array
|
#
|
public
|
isClassString(): TrinaryLogic
|
#
|
public
|
getClassStringObjectType(): Type
Returns object type Foo for class-string<Foo> and 'Foo' (if Foo is a valid class).
Returns object type Foo for class-string<Foo> and 'Foo' (if Foo is a valid class).
Overrides
Implements
|
#
|
public
|
getObjectTypeOrClassStringObjectType(): Type
Returns object type Foo for class-string<Foo>, 'Foo' (if Foo is a valid class),
and object type Foo.
Returns object type Foo for class-string<Foo>, 'Foo' (if Foo is a valid class),
and object type Foo.
Overrides
Implements
|
#
|
public
|
describe(VerbosityLevel $level): string
|
#
|
public
|
isSuperTypeOf(Type $type): IsSuperTypeOfResult
|
#
|
public
|
isCallable(): TrinaryLogic
|
#
|
public
|
getCallableParametersAcceptors(ClassMemberAccessAnswerer $scope): array
|
#
|
public
|
toNumber(): Type
|
#
|
public
|
toAbsoluteNumber(): Type
|
#
|
public
|
toInteger(): Type
|
#
|
public
|
toFloat(): Type
|
#
|
public
|
toArrayKey(): Type
|
#
|
public
|
isString(): TrinaryLogic
|
#
|
public
|
isNumericString(): TrinaryLogic
|
#
|
public
|
isNonEmptyString(): TrinaryLogic
|
#
|
public
|
isNonFalsyString(): TrinaryLogic
|
#
|
public
|
isLiteralString(): TrinaryLogic
|
#
|
public
|
isLowercaseString(): TrinaryLogic
|
#
|
public
|
isUppercaseString(): TrinaryLogic
|
#
|
public
|
hasOffsetValueType(Type $offsetType): TrinaryLogic
|
#
|
public
|
getOffsetValueType(Type $offsetType): Type
|
#
|
public
|
setOffsetValueType(?Type $offsetType, Type $valueType, bool $unionValues = true): Type
|
#
|
public
|
setExistingOffsetValueType(Type $offsetType, Type $valueType): Type
|
#
|
public
|
append(self $otherString): self
|
#
|
public
|
generalize(GeneralizePrecision $precision): Type
|
#
|
public
|
getSmallerType(PhpVersion $phpVersion): Type
|
#
|
public
|
getSmallerOrEqualType(PhpVersion $phpVersion): Type
|
#
|
public
|
getGreaterType(PhpVersion $phpVersion): Type
|
#
|
public
|
getGreaterOrEqualType(PhpVersion $phpVersion): Type
|
#
|
public
|
canAccessConstants(): TrinaryLogic
|
#
|
public
|
hasConstant(string $constantName): TrinaryLogic
|
#
|
public
|
getConstant(string $constantName): ClassConstantReflection
|
#
|
public
|
toPhpDocNode(): TypeNode
|
#
|