|
@@ -15,16 +15,16 @@ |
|
|
block discarded – undo |
|
15
|
15
|
|
|
16
|
16
|
// Inflectors |
|
17
|
17
|
$container->inflector('Ps2alerts\Api\Contract\ConfigAwareInterface') |
|
18
|
|
- ->invokeMethod('setConfig', ['config']); |
|
|
18
|
+ ->invokeMethod('setConfig', ['config']); |
|
19
|
19
|
$container->inflector('Ps2alerts\Api\Contract\DatabaseAwareInterface') |
|
20
|
|
- ->invokeMethod('setDatabaseDriver', ['Aura\Sql']); |
|
|
20
|
+ ->invokeMethod('setDatabaseDriver', ['Aura\Sql']); |
|
21
|
21
|
$container->inflector('Ps2alerts\Api\Contract\TemplateAwareInterface') |
|
22
|
|
- ->invokeMethod('setTemplateDriver', ['Twig_Environment']); |
|
|
22
|
+ ->invokeMethod('setTemplateDriver', ['Twig_Environment']); |
|
23
|
23
|
$container->inflector('Ps2alerts\Api\Contract\RedisAwareInterface') |
|
24
|
|
- ->invokeMethod('setRedisDriver', ['redis']); |
|
|
24
|
+ ->invokeMethod('setRedisDriver', ['redis']); |
|
25
|
25
|
|
|
26
|
26
|
// Container Inflector |
|
27
|
27
|
$container->inflector('League\Container\ContainerAwareInterface') |
|
28
|
|
- ->invokeMethod('setContainer', [$container]); |
|
|
28
|
+ ->invokeMethod('setContainer', [$container]); |
|
29
|
29
|
|
|
30
|
30
|
return $container; |
Please login to merge, or discard this patch.