@@ -16,26 +16,26 @@ |
||
16 | 16 | |
17 | 17 | // Inflectors |
18 | 18 | $container->inflector('Ps2alerts\Api\Contract\ConfigAwareInterface') |
19 | - ->invokeMethod('setConfig', ['config']); |
|
19 | + ->invokeMethod('setConfig', ['config']); |
|
20 | 20 | $container->inflector('Ps2alerts\Api\Contract\DatabaseAwareInterface') |
21 | - ->invokeMethod('setDatabaseDriver', ['Aura\Sql']); |
|
21 | + ->invokeMethod('setDatabaseDriver', ['Aura\Sql']); |
|
22 | 22 | $container->inflector('Ps2alerts\Api\Contract\LogAwareInterface') |
23 | - ->invokeMethod('setLogDriver', ['Monolog\Logger']); |
|
23 | + ->invokeMethod('setLogDriver', ['Monolog\Logger']); |
|
24 | 24 | $container->inflector('Ps2alerts\Api\Contract\TemplateAwareInterface') |
25 | - ->invokeMethod('setTemplateDriver', ['Twig_Environment']); |
|
25 | + ->invokeMethod('setTemplateDriver', ['Twig_Environment']); |
|
26 | 26 | $container->inflector('Ps2alerts\Api\Contract\RedisAwareInterface') |
27 | - ->invokeMethod('setRedisDriver', ['redis']); |
|
27 | + ->invokeMethod('setRedisDriver', ['redis']); |
|
28 | 28 | |
29 | 29 | $container->add('Ps2alerts\Api\Validator\AlertInputValidator'); |
30 | 30 | |
31 | 31 | $container->add('Ps2alerts\Api\Repository\AlertRepository'); |
32 | 32 | |
33 | 33 | $container->add('Ps2alerts\Api\Loader\Statistics\AlertStatisticsLoader') |
34 | - ->withArgument('Ps2alerts\Api\Repository\AlertRepository') |
|
35 | - ->withArgument('Ps2alerts\Api\Validator\AlertInputValidator'); |
|
34 | + ->withArgument('Ps2alerts\Api\Repository\AlertRepository') |
|
35 | + ->withArgument('Ps2alerts\Api\Validator\AlertInputValidator'); |
|
36 | 36 | |
37 | 37 | // Container Inflector |
38 | 38 | $container->inflector('League\Container\ContainerAwareInterface') |
39 | - ->invokeMethod('setContainer', [$container]); |
|
39 | + ->invokeMethod('setContainer', [$container]); |
|
40 | 40 | |
41 | 41 | return $container; |