# PHPStan API reference

> API reference of the PHPStan extension (yii2\extensions\phpstan), generated from its PHPDoc.

[API reference](/docs/api/index.md) › PHPStan

Classes, interfaces, traits and enums of `yii2\extensions\phpstan`, generated from the PHPDoc of [yii2-extensions/phpstan](https://github.com/yii2-extensions/phpstan) at `main`. Machine-readable catalog: [phpstan.json](https://yii2-framework.github.io/docs/reference/phpstan.json).

## Namespaces

| Namespace | Types |
| --- | --- |
| [`yii2\extensions\phpstan\method`](/docs/extensions/phpstan/reference/method/index.md) | 1 |
| [`yii2\extensions\phpstan\property`](/docs/extensions/phpstan/reference/property/index.md) | 2 |
| [`yii2\extensions\phpstan\reflection`](/docs/extensions/phpstan/reference/reflection/index.md) | 1 |
| [`yii2\extensions\phpstan\type`](/docs/extensions/phpstan/reference/type/index.md) | 9 |

## Classes

| Class | Summary |
| --- | --- |
| [`ParamsTypeBuilder`](/docs/extensions/phpstan/reference/paramstypebuilder/index.md) final | Builds the PHPStan array shape type of Yii application params from their configured values. |
| [`PropertyTagTypeResolver`](/docs/extensions/phpstan/reference/propertytagtyperesolver/index.md) final | Resolves the readable types of the class-level `@property` tags that a class declares or inherits. |
| [`ServiceMap`](/docs/extensions/phpstan/reference/servicemap/index.md) final | Maps and normalizes service and component definitions from Yii Application configuration for static analysis. |
| [`ServiceMapResultCacheValueExtension`](/docs/extensions/phpstan/reference/servicemapresultcachevalueextension/index.md) final | Exposes the Yii configuration values that drive inferred types to the PHPStan result cache. |