implements |
Node |
---|---|
uses |
NodeAttributes |
Methods | ||
---|---|---|
public
|
__construct(
ConstExprIntegerNode|ConstExprStringNode|IdentifierTypeNode|null $keyName,
bool $optional,
TypeNode $valueType,
)
|
# |
public
|
__toString(): string
|
# |
Methods used from PHPStan\PhpDocParser\Ast\NodeAttributes |
---|
setAttribute(), hasAttribute(), getAttribute() |
Properties | |||
---|---|---|---|
public
|
ConstExprIntegerNode|ConstExprStringNode|IdentifierTypeNode|null
|
$keyName
|
# |
public
|
bool
|
$optional
|
# |
public
|
TypeNode
|
$valueType
|
# |