EnumTypeDef
class EnumTypeDef extends AbstractObject implements IdAble, Node
A definition of a custom enum defined in a Module.
Properties
| $lastQuery | from AbstractObject |
Methods
from
AbstractObject
null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
from
AbstractObject
string
description()
A doc string for the enum, if any.
array
members()
The members of the enum.
string
name()
The name of the enum.
SourceMap|null
sourceMap()
The location of this enum declaration.
string
sourceModuleName()
If this EnumTypeDef is associated with a Module, the name of the module. Unset otherwise.
array
values()
The members of the enum.
Details
in
AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
in
AbstractObject at line 19
protected null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
at line 19
string
description()
A doc string for the enum, if any.
at line 28
Id
id()
A unique identifier for this EnumTypeDef.
at line 37
array
members()
The members of the enum.
at line 46
string
name()
The name of the enum.
at line 55
SourceMap|null
sourceMap()
The location of this enum declaration.
at line 69
string
sourceModuleName()
If this EnumTypeDef is associated with a Module, the name of the module. Unset otherwise.
at line 78
array
values()
The members of the enum.