Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
19 | public function load(ServiceContainer $container, array $params) |
||
20 | { |
||
21 | $container->define('event_dispatcher.listeners.data_provider', function() { |
||
22 | return new DataProviderListener(new ExampleParser(), new DataProviderExtractor()); |
||
23 | }, ['event_dispatcher.listeners']); |
||
24 | |||
25 | $container->define('runner.maintainers.data_provider', function() { |
||
26 | return new DataProviderMaintainer(new ExampleParser(), new DataProviderExtractor()); |
||
27 | }, ['runner.maintainers']); |
||
28 | } |
||
29 | } |