AbstractBuilder
AbstractBuilder.php
:
20
Base builder for extendable AdminUI menus.
Properties¶
$eventDispatcher
¶
AbstractBuilder.php
:
26
|
|
|
$factory
¶
AbstractBuilder.php
:
23
|
|
|
Methods¶
__construct()
¶
AbstractBuilder.php
:
32
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $factory | MenuItemFactory | - | - |
| $eventDispatcher | EventDispatcherInterface | - | - |
build()
¶
AbstractBuilder.php
:
73
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $options | array<string|int, mixed> | - | - |
Return values
ItemInterface
createConfigureMenuEvent()
¶
AbstractBuilder.php
:
63
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $menu | ItemInterface | - | - |
| $options | array<string|int, mixed> | [] | - |
Return values
ConfigureMenuEvent
createMenuItem()
¶
AbstractBuilder.php
:
44
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $id | string | - | - |
| $options | array<string|int, mixed> | [] | - |
Return values
ItemInterface
createStructure()
¶
AbstractBuilder.php
:
84
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $options | array<string|int, mixed> | - | - |
Return values
ItemInterface
dispatchMenuEvent()
¶
AbstractBuilder.php
:
53
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $name | string | - | - |
| $event | Event | - | - |
getConfigureEventName()
¶
AbstractBuilder.php
:
82
|
|
|
Return values
string