Final Class yii\apidoc\models\PseudoTypeDoc
| Inheritance | yii\ |
|---|---|
| Source Code | https://github.com/yiisoft/yii2-apidoc/blob/master/models/PseudoTypeDoc.php |
Represents API documentation information for a @phpstan-type and @psalm-type.
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $name | string | yii\ |
|
| $parent | yii\ |
yii\ |
|
| $type | string | yii\ |
|
| $value | \ |
yii\ |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | yii\ |
Constants
| Constant | Value | Description | Defined By |
|---|---|---|---|
| TYPES | [ self::TYPE_PHPSTAN, self::TYPE_PSALM, ] | yii\ |
|
| TYPE_PHPSTAN | 'phpstan' | yii\ |
|
| TYPE_PSALM | 'psalm' | yii\ |
Property Details
Method Details
| public mixed __construct ( value-of | ||
| $type | value-of |
|
| $parent | yii\ |
|
| $name | string | |
| $value | \ |
|
public function __construct(
public string $type,
public BaseDoc $parent,
public string $name,
public Type $value
) {
}