EnumTypeDef
class EnumTypeDef extends AbstractObject implements IdAble
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.
id()
A unique identifier for this EnumTypeDef.
string
name()
The name of the enum.
string
sourceModuleName()
If this EnumTypeDef is associated with a Module, the name of the module. Unset otherwise.
array
values()
The values 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
AbstractId
id()
A unique identifier for this EnumTypeDef.
at line 37
string
name()
The name of the enum.
at line 46
SourceMap
sourceMap()
The location of this enum declaration.
at line 55
string
sourceModuleName()
If this EnumTypeDef is associated with a Module, the name of the module. Unset otherwise.
at line 64
array
values()
The values of the enum.