| Conditions | 1 |
| Paths | 1 |
| Total Lines | 25 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| 1 | <?php |
||
| 22 | 1 | public function build(ContainerBuilder $container) |
|
| 23 | { |
||
| 24 | 1 | parent::build($container); |
|
| 25 | |||
| 26 | 1 | $container->addCompilerPass( |
|
| 27 | new class implements CompilerPassInterface |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * @inheritDoc |
||
| 31 | */ |
||
| 32 | public function process(ContainerBuilder $container) |
||
| 33 | { |
||
| 34 | $executorId = 'thruster_data_modifier_actions.executor'; |
||
| 35 | $executorDefinition = new Definition( |
||
| 36 | 'Thruster\Action\DataModifierActions\DataModifyActionExecutor', |
||
| 37 | [new Reference('thruster_data_modifiers')] |
||
| 38 | ); |
||
| 39 | |||
| 40 | $executorDefinition->addTag('thruster_action_executor', []); |
||
| 41 | |||
| 42 | $container->setDefinition($executorId, $executorDefinition); |
||
| 43 | } |
||
| 44 | } |
||
| 45 | ); |
||
| 46 | 1 | } |
|
| 47 | } |
||
| 48 |