API Reference
Namespaces
PhpParser
Builder
Comment
ErrorHandler
Lexer
Node
NodeVisitor
Parser
PrettyPrinter
PHPStan
Analyser
BetterReflection
Broker
Collectors
Command
DependencyInjection
File
Node
Parser
Php
PhpDoc
PhpDocParser
Reflection
Php
Rules
Testing
Type
Classes
Assertions
ClassReflection
EnumCaseReflection
FunctionVariant
FunctionVariantWithPhpDocs
GenericParametersAcceptorResolver
InitializerExprContext
InitializerExprTypeResolver
ParametersAcceptorSelector
PassedByReference
TrivialParametersAcceptor
Interfaces
AllowedSubTypesClassReflectionExtension
BrokerAwareExtension
ClassMemberAccessAnswerer
ClassMemberReflection
ConstantReflection
ExtendedMethodReflection
FunctionReflection
GlobalConstantReflection
MethodReflection
MethodsClassReflectionExtension
NamespaceAnswerer
ParameterReflection
ParameterReflectionWithPhpDocs
ParametersAcceptor
ParametersAcceptorWithPhpDocs
PropertiesClassReflectionExtension
PropertyReflection
ReflectionProvider
Overview
Namespace
Class
Tree
Class
PHPStan
\
Reflection
\
InitializerExprTypeResolver
Located at
src/Reflection/InitializerExprTypeResolver.php
Methods
public
getType
(
Expr
$expr
,
InitializerExprContext
$context
):
Type
#