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.

array
members()

The members of the enum.

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()

No description

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
array members()

The members of the enum.

Return Value

array

at line 46
string name()

The name of the enum.

Return Value

string

at line 55
SourceMap sourceMap()

The location of this enum declaration.

Return Value

SourceMap

at line 64
string sourceModuleName()

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

Return Value

string

at line 70
array values()

No description

Return Value

array