@@ 371-378 (lines=8) @@ | ||
368 | return $container; |
|
369 | } |
|
370 | ||
371 | private function addTaggedCommandHandlers(ContainerBuilder $container) |
|
372 | { |
|
373 | $definition = new Definition(ContainerCommandHandler1::class); |
|
374 | $definition->addTag('governor.command_handler') |
|
375 | ->setPublic(true); |
|
376 | ||
377 | $container->setDefinition('test.command_handler', $definition); |
|
378 | } |
|
379 | ||
380 | private function addTaggedEventListeners(ContainerBuilder $container) |
|
381 | { |
|
@@ 380-387 (lines=8) @@ | ||
377 | $container->setDefinition('test.command_handler', $definition); |
|
378 | } |
|
379 | ||
380 | private function addTaggedEventListeners(ContainerBuilder $container) |
|
381 | { |
|
382 | $definition = new Definition(ContainerEventListener1::class); |
|
383 | $definition->addTag('governor.event_handler') |
|
384 | ->setPublic(true); |
|
385 | ||
386 | $container->setDefinition('test.event_handler', $definition); |
|
387 | } |
|
388 | ||
389 | } |
|
390 |