API Reference
Namespaces
PhpParser
Builder
Comment
ErrorHandler
Lexer
Node
NodeVisitor
Parser
PrettyPrinter
PHPStan
Analyser
BetterReflection
Broker
Classes
Collectors
Command
DependencyInjection
Diagnose
File
Node
Parser
Php
PhpDoc
PhpDocParser
Reflection
Rules
Testing
Type
Accessory
Constant
Enum
Generic
Helper
Php
none
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
NewObjectType
NonAcceptingNeverType
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
ExpressionTypeResolverExtension
FunctionParameterClosureTypeExtension
FunctionParameterOutTypeExtension
FunctionTypeSpecifyingExtension
LateResolvableType
MethodParameterClosureTypeExtension
MethodParameterOutTypeExtension
MethodTypeSpecifyingExtension
OperatorTypeSpecifyingExtension
StaticMethodParameterClosureTypeExtension
StaticMethodParameterOutTypeExtension
StaticMethodTypeSpecifyingExtension
Type
TypeWithClassName
Overview
Namespace
Interface
Tree
1:
<?php
declare
(strict_types =
1
);
2:
3:
namespace
PHPStan\Type;
4:
5:
/** @api */
6:
interface
ConstantType
extends
Type
7:
{
8:
9:
}
10: