@@ -11,13 +11,7 @@ |
||
11 | 11 | |
12 | 12 | namespace ONGR\TranslationsBundle\Controller; |
13 | 13 | |
14 | -use ONGR\ElasticsearchBundle\Result\DocumentIterator; |
|
15 | -use ONGR\ElasticsearchBundle\Result\Result; |
|
16 | -use ONGR\ElasticsearchDSL\Aggregation\TermsAggregation; |
|
17 | -use ONGR\ElasticsearchBundle\Service\Repository; |
|
18 | -use ONGR\FilterManagerBundle\Filter\ViewData; |
|
19 | 14 | use ONGR\FilterManagerBundle\Search\SearchResponse; |
20 | -use ONGR\TranslationsBundle\Document\Translation; |
|
21 | 15 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
22 | 16 | use Symfony\Component\HttpFoundation\JsonResponse; |
23 | 17 | use Symfony\Component\HttpFoundation\Request; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace ONGR\TranslationsBundle\Service; |
13 | 13 | |
14 | -use Elasticsearch\Common\Exceptions\BadRequest400Exception; |
|
15 | 14 | use ONGR\ElasticsearchBundle\Service\Manager; |
16 | 15 | use ONGR\TranslationsBundle\Document\Message; |
17 | 16 | use ONGR\TranslationsBundle\Document\Translation; |
@@ -26,8 +26,6 @@ |
||
26 | 26 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
27 | 27 | use Symfony\Component\HttpFoundation\Request; |
28 | 28 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
29 | -use Symfony\Component\PropertyAccess\PropertyAccess; |
|
30 | -use Symfony\Component\PropertyAccess\PropertyAccessorInterface; |
|
31 | 29 | |
32 | 30 | /** |
33 | 31 | * Handles translation objects by http requests. |