class EnumTypeDef extends AbstractObject implements IdAble

A definition of a custom enum defined in a Module.

Properties

$lastQuery from  AbstractObject

Methods

__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)

No description

null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)

No description

string
description()

A doc string for the enum, if any.

id()

A unique identifier for this EnumTypeDef.

string
name()

The name of the enum.

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 values of the enum.

Details

in AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)

No description

Parameters

AbstractClient $client
QueryBuilderChain $queryBuilderChain

in AbstractObject at line 19
protected null|array|string|int|float|bool queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)

No description

Parameters

QueryBuilder $leafQueryBuilder
string $leafKey

Return Value

null|array|string|int|float|bool

at line 19
string description()

A doc string for the enum, if any.

Return Value

string

at line 28
AbstractId id()

A unique identifier for this EnumTypeDef.

Return Value

AbstractId

at line 37
string name()

The name of the enum.

Return Value

string

at line 46
SourceMap sourceMap()

The location of this enum declaration.

Return Value

SourceMap

at line 55
string sourceModuleName()

If this EnumTypeDef is associated with a Module, the name of the module. Unset otherwise.

Return Value

string

at line 64
array values()

The values of the enum.

Return Value

array