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
Rules
Testing
Type
Accessory
Constant
Enum
Generic
Helper
Classes
AcceptsResult
ArrayType
BenevolentUnionType
BooleanType
CallableType
CircularTypeAliasErrorType
ClassStringType
ClosureType
ClosureTypeFactory
ConditionalType
ConditionalTypeForParameter
ConstantTypeHelper
ErrorType
FileTypeMapper
FloatType
GeneralizePrecision
GenericTypeVariableResolver
IntegerRangeType
IntegerType
IntersectionType
IterableType
KeyOfType
MixedType
NeverType
NullType
ObjectShapeType
ObjectType
ObjectWithoutClassType
OffsetAccessType
ResourceType
StaticType
StringType
ThisType
TypeCombinator
TypehintHelper
TypeTraverser
TypeUtils
UnionType
ValueOfType
VerbosityLevel
VoidType
Interfaces
CompoundType
ConstantScalarType
ConstantType
DynamicFunctionReturnTypeExtension
DynamicFunctionThrowTypeExtension
DynamicMethodReturnTypeExtension
DynamicMethodThrowTypeExtension
DynamicStaticMethodReturnTypeExtension
DynamicStaticMethodThrowTypeExtension
FunctionTypeSpecifyingExtension
LateResolvableType
MethodTypeSpecifyingExtension
OperatorTypeSpecifyingExtension
StaticMethodTypeSpecifyingExtension
Type
TypeWithClassName
Overview
Namespace
Class
Tree
Namespace
PHPStan
\
Type
Classes
AcceptsResult
ArrayType
BenevolentUnionType
BooleanType
CallableType
CircularTypeAliasErrorType
ClassStringType
ClosureType
ClosureTypeFactory
ConditionalType
ConditionalTypeForParameter
ConstantTypeHelper
ErrorType
FileTypeMapper
FloatType
GeneralizePrecision
GenericTypeVariableResolver
IntegerRangeType
IntegerType
IntersectionType
IterableType
KeyOfType
MixedType
NeverType
NullType
ObjectShapeType
ObjectType
ObjectWithoutClassType
OffsetAccessType
ResourceType
StaticType
StringType
ThisType
TypeCombinator
TypehintHelper
TypeTraverser
TypeUtils
UnionType
ValueOfType
VerbosityLevel
VoidType
Interfaces
CompoundType
ConstantScalarType
ConstantType
DynamicFunctionReturnTypeExtension
This is the interface dynamic return type extensions implement for functions.
DynamicFunctionThrowTypeExtension
This is the interface dynamic throw type extensions implement for functions.
DynamicMethodReturnTypeExtension
This is the interface dynamic return type extensions implement for non-static methods.
DynamicMethodThrowTypeExtension
This is the interface dynamic throw type extensions implement for non-static methods.
DynamicStaticMethodReturnTypeExtension
This is the interface dynamic return type extensions implement for static methods.
DynamicStaticMethodThrowTypeExtension
This is the interface dynamic throw type extensions implement for static methods.
FunctionTypeSpecifyingExtension
This is the interface type-specifying extensions implement for functions.
LateResolvableType
MethodTypeSpecifyingExtension
This is the interface type-specifying extensions implement for non-static methods.
OperatorTypeSpecifyingExtension
This is the extension interface to implement if you want to describe how arithmetic operators like +, -, *, ^, / should…
StaticMethodTypeSpecifyingExtension
This is the interface type-specifying extensions implement for static methods.
Type
TypeWithClassName
Namespaces
PHPStan\Type\Accessory
PHPStan\Type\Constant
PHPStan\Type\Enum
PHPStan\Type\Generic
PHPStan\Type\Helper