@@ -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,27 +15,27 @@ |
||
| 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 | // Repositories |
| 27 | 27 | $container->add('Ps2alerts\Api\Repository\ResultRepository'); |
| 28 | 28 | |
| 29 | 29 | // Loaders |
| 30 | 30 | $container->add('Ps2alerts\Api\Loader\ResultLoader') |
| 31 | - ->withArgument('Ps2alerts\Api\Repository\ResultRepository'); |
|
| 31 | + ->withArgument('Ps2alerts\Api\Repository\ResultRepository'); |
|
| 32 | 32 | |
| 33 | 33 | // Endpoint Injectors |
| 34 | 34 | $container->add('Ps2alerts\Api\Controller\Alerts\ResultsEndpointController') |
| 35 | - ->withArgument('Ps2alerts\Api\Loader\ResultLoader'); |
|
| 35 | + ->withArgument('Ps2alerts\Api\Loader\ResultLoader'); |
|
| 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; |