Final Class yii\apidoc\models\PseudoTypeImportDoc

Inheritanceyii\apidoc\models\PseudoTypeImportDoc » yii\base\BaseObject
Source Code https://github.com/yiisoft/yii2-apidoc/blob/master/models/PseudoTypeImportDoc.php

Represents API documentation information for a @phpstan-import-type and @psalm-import-type.

Public Methods

Hide inherited methods

Method Description Defined By
__construct() yii\apidoc\models\PseudoTypeImportDoc

Constants

Hide inherited constants

Constant Value Description Defined By
TYPES [ self::TYPE_PHPSTAN, self::TYPE_PSALM, ] yii\apidoc\models\PseudoTypeImportDoc
TYPE_PHPSTAN 'phpstan' yii\apidoc\models\PseudoTypeImportDoc
TYPE_PSALM 'psalm' yii\apidoc\models\PseudoTypeImportDoc

Property Details

Hide inherited properties

$type public property
public string $type null
$typeName public property
public string $typeName null
$typeParentFqsen public property
public \phpDocumentor\Reflection\Fqsen $typeParentFqsen null

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( value-of $type, string $typeName, \phpDocumentor\Reflection\Fqsen $typeParentFqsen )
$type value-of
$typeName string
$typeParentFqsen \phpDocumentor\Reflection\Fqsen

                public function __construct(
    public string $type,
    public string $typeName,
    public Fqsen $typeParentFqsen
) {
}