1 | <?php |
||
17 | class GendoriaCommandQueueBundle extends Bundle |
||
18 | { |
||
19 | /** |
||
20 | * Get default extension class instance. |
||
21 | * |
||
22 | * @return GendoriaCommandQueueExtension |
||
23 | */ |
||
24 | 1 | public function getContainerExtension() |
|
25 | { |
||
26 | 1 | if (null === $this->extension || false === $this->extension) { |
|
27 | 1 | $this->extension = new GendoriaCommandQueueExtension(); |
|
28 | 1 | } |
|
29 | |||
30 | 1 | return $this->extension; |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * Build bundle. |
||
35 | * |
||
36 | * During build, two compile passes are registered: for fetching command processors and pool configurations. |
||
37 | * |
||
38 | * @param ContainerBuilder $container Container builder. |
||
39 | */ |
||
40 | public function build(ContainerBuilder $container) |
||
45 | } |
||
46 |