@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use League\Route\Http\JsonResponse as Response; |
6 | 6 | use Ps2alerts\Api\Controller\EndpointBaseController; |
7 | -use Ps2alerts\Api\QueryObjects\QueryObject; |
|
8 | 7 | use Ps2alerts\Api\Loader\ResultLoader; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | 9 |
@@ -10,10 +10,10 @@ |
||
10 | 10 | use RedisAwareTrait; |
11 | 11 | |
12 | 12 | /** |
13 | - * Flag whether or not the result is allowed to be cached |
|
14 | - * |
|
15 | - * @var boolean |
|
16 | - */ |
|
13 | + * Flag whether or not the result is allowed to be cached |
|
14 | + * |
|
15 | + * @var boolean |
|
16 | + */ |
|
17 | 17 | |
18 | 18 | protected $cacheable = true; |
19 | 19 | /** |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use League\Route\Http\JsonResponse as Response; |
6 | 6 | use Ps2alerts\Api\Controller\EndpointBaseController; |
7 | -use Ps2alerts\Api\QueryObjects\QueryObject; |
|
8 | 7 | use Ps2alerts\Api\Loader\ResultLoader; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | 9 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use League\Route\Http\JsonResponse as Response; |
6 | 6 | use Ps2alerts\Api\Controller\EndpointBaseController; |
7 | -use Ps2alerts\Api\QueryObjects\QueryObject; |
|
8 | 7 | use Ps2alerts\Api\Loader\ResultLoader; |
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | 9 |
@@ -15,24 +15,24 @@ |
||
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->add('Ps2alerts\Api\Validator\AlertInputValidator'); |
27 | 27 | |
28 | 28 | $container->add('Ps2alerts\Api\Repository\AlertRepository'); |
29 | 29 | |
30 | 30 | $container->add('Ps2alerts\Api\Loader\Statistics\AlertStatisticsLoader') |
31 | - ->withArgument('Ps2alerts\Api\Repository\AlertRepository') |
|
32 | - ->withArgument('Ps2alerts\Api\Validator\AlertInputValidator'); |
|
31 | + ->withArgument('Ps2alerts\Api\Repository\AlertRepository') |
|
32 | + ->withArgument('Ps2alerts\Api\Validator\AlertInputValidator'); |
|
33 | 33 | |
34 | 34 | // Container Inflector |
35 | 35 | $container->inflector('League\Container\ContainerAwareInterface') |
36 | - ->invokeMethod('setContainer', [$container]); |
|
36 | + ->invokeMethod('setContainer', [$container]); |
|
37 | 37 | |
38 | 38 | return $container; |