API Reference
Namespaces
PhpParser
Builder
Comment
ErrorHandler
Internal
Lexer
Node
NodeVisitor
Parser
PrettyPrinter
PHPStan
Analyser
BetterReflection
Classes
Collectors
Command
DependencyInjection
Diagnose
File
Node
Parser
Php
PhpDoc
PhpDocParser
Reflection
Rules
Testing
Type
Accessory
Constant
Enum
Generic
Helper
Php
Classes
AcceptsResult
ArrayType
BenevolentUnionType
BooleanType
CallableType
CircularTypeAliasErrorType
ClassStringType
ClosureType
ClosureTypeFactory
ConditionalType
ConditionalTypeForParameter
ConstantTypeHelper
ErrorType
FileTypeMapper
FloatType
GeneralizePrecision
IntegerRangeType
IntegerType
IntersectionType
IsSuperTypeOfResult
IterableType
KeyOfType
MixedType
NeverType
NewObjectType
NonAcceptingNeverType
NullType
ObjectShapeType
ObjectType
ObjectWithoutClassType
OffsetAccessType
ResourceType
StaticType
StringType
ThisType
TypeCombinator
TypehintHelper
TypeTraverser
TypeUtils
UnionType
ValueOfType
VerbosityLevel
VoidType
Interfaces
CompoundType
ConstantScalarType
DynamicFunctionReturnTypeExtension
DynamicFunctionThrowTypeExtension
DynamicMethodReturnTypeExtension
DynamicMethodThrowTypeExtension
DynamicStaticMethodReturnTypeExtension
DynamicStaticMethodThrowTypeExtension
ExpressionTypeResolverExtension
FunctionParameterClosureTypeExtension
FunctionParameterOutTypeExtension
FunctionTypeSpecifyingExtension
LateResolvableType
MethodParameterClosureTypeExtension
MethodParameterOutTypeExtension
MethodTypeSpecifyingExtension
OperatorTypeSpecifyingExtension
StaticMethodParameterClosureTypeExtension
StaticMethodParameterOutTypeExtension
StaticMethodTypeSpecifyingExtension
Type
TypeWithClassName
Overview
Namespace
Class
Tree
Class
PHPStan
\
Type
\
ConstantTypeHelper
final
Located at
src/Type/ConstantTypeHelper.php
Methods
public static
getTypeFromValue
(
mixed
$value
):
Type
#