implements |
TypeNode |
---|---|
uses |
NodeAttributes |
Methods | ||
---|---|---|
public
|
__construct(IdentifierTypeNode $type, array $genericTypes, array $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
|
# |