implements |
TypeNode |
|---|---|
uses |
NodeAttributes |
| Methods | ||
|---|---|---|
public
|
__construct(IdentifierTypeNode $type, TypeNode[] $genericTypes, self::VARIANCE_*[] $variances = [])
|
# |
public
|
__toString(): string
|
# |
| Methods used from PHPStan\PhpDocParser\Ast\NodeAttributes |
|---|
setAttribute(), hasAttribute(), getAttribute() |
| Constants | ||
|---|---|---|
public
|
VARIANCE_INVARIANT = 'invariant'
|
# |
public
|
VARIANCE_COVARIANT = 'covariant'
|
# |
public
|
VARIANCE_CONTRAVARIANT = 'contravariant'
|
# |
public
|
VARIANCE_BIVARIANT = 'bivariant'
|
# |
| Properties | |||
|---|---|---|---|
public
|
IdentifierTypeNode
|
$type
|
# |
public
|
TypeNode[]
|
$genericTypes
|
# |
public
|
self::VARIANCE_*[]
|
$variances
|
# |