| Classes | |
|---|---|
| AllowedConstantsResult | Result of checking constants passed to a parameter against its allowed set. |
| Assertions | Collection of @phpstan-assert annotations on a function or method. |
| AttributeReflection | Reflection for a PHP attribute (PHP 8.0+). |
| ClassReflection | |
| EnumCaseReflection | |
| ExtendedFunctionVariant | |
| FunctionVariant | |
| GenericParametersAcceptorResolver | |
| InitializerExprContext | |
| InitializerExprTypeResolver | |
| ParameterAllowedConstants | Describes which constants a function/method parameter accepts. |
| ParametersAcceptorSelector | |
| PassedByReference | Describes how a function/method parameter is passed: by value or by reference. |
| TrivialParametersAcceptor | |
| Interfaces | |
| AdditionalConstructorsExtension | This is the extension interface to implement if you want to dynamically mark methods as constructor. As opposed to simply list them in the configuration file. |
| AllowedSubTypesClassReflectionExtension | This is the extension interface to implement if you want to described allowed subtypes - to limit which classes can implement a certain interface or extend a certain parent class. |
| ClassConstantReflection | Reflection for a class constant. |
| ClassMemberAccessAnswerer | Answers questions about visibility and access rights for class members (properties, methods, constants) from the current analysis context. |
| ClassMemberReflection | Base interface for all class members: properties, methods, and constants. |
| ConstantReflection | Reflection for a constant (class constant or global constant). |
| ExtendedMethodReflection | Extended method reflection with additional metadata beyond MethodReflection. |
| ExtendedParameterReflection | |
| ExtendedParametersAcceptor | Extended function/method signature with separate PHPDoc and native types. |
| ExtendedPropertyReflection | Extended property reflection with additional metadata beyond PropertyReflection. |
| FunctionReflection | Reflection for a standalone function (not a class method). |
| MethodReflection | Reflection for a class method. |
| MethodsClassReflectionExtension | This is the interface custom methods class reflection extensions implement. |
| NamespaceAnswerer | Provides the current namespace context. |
| ParameterReflection | Reflection for a function/method parameter. |
| ParametersAcceptor | Describes one signature variant of a function or method. |
| PropertiesClassReflectionExtension | This is the interface custom properties class reflection extensions implement. |
| PropertyReflection | Reflection for a class property. |
| ReflectionProvider | |
| Namespaces | |
| PHPStan\Reflection\Callables | |
| PHPStan\Reflection\Deprecation | |
| PHPStan\Reflection\Php | |