@@ -4,7 +4,6 @@ discard block |
||
4 | 4 | |
5 | 5 | use ArrayIterator; |
6 | 6 | use Doctrine\ORM\EntityManagerInterface; |
7 | -use Doctrine\ORM\EntityRepository; |
|
8 | 7 | use LAG\AdminBundle\Admin\Behaviors\AdminTrait; |
9 | 8 | use LAG\AdminBundle\Admin\Configuration\AdminConfiguration; |
10 | 9 | use Doctrine\Common\Collections\ArrayCollection; |
@@ -15,15 +14,12 @@ discard block |
||
15 | 14 | use LAG\AdminBundle\Filter\RequestFilter; |
16 | 15 | use LAG\AdminBundle\Message\MessageHandlerInterface; |
17 | 16 | use LAG\AdminBundle\Pager\PagerFantaAdminAdapter; |
18 | -use LAG\DoctrineRepositoryBundle\Repository\RepositoryInterface; |
|
19 | -use Pagerfanta\Adapter\DoctrineORMAdapter; |
|
20 | 17 | use Pagerfanta\Pagerfanta; |
21 | 18 | use Symfony\Component\DependencyInjection\Container; |
22 | 19 | use Symfony\Component\HttpFoundation\ParameterBag; |
23 | 20 | use Symfony\Component\HttpFoundation\Request; |
24 | 21 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
25 | 22 | use Symfony\Component\Security\Core\User\UserInterface; |
26 | -use Traversable; |
|
27 | 23 | |
28 | 24 | class Admin implements AdminInterface |
29 | 25 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use LAG\AdminBundle\Admin\AdminInterface; |
9 | 9 | use LAG\AdminBundle\Admin\Configuration\ActionConfiguration; |
10 | 10 | use LAG\AdminBundle\Admin\Configuration\ApplicationConfiguration; |
11 | -use Symfony\Component\OptionsResolver\Exception\InvalidOptionsException; |
|
12 | 11 | use Symfony\Component\OptionsResolver\Options; |
13 | 12 | use Symfony\Component\OptionsResolver\OptionsResolver; |
14 | 13 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace LAG\AdminBundle\Twig; |
4 | 4 | |
5 | 5 | use LAG\AdminBundle\Admin\Configuration\ApplicationConfiguration; |
6 | -use LAG\AdminBundle\Admin\Field; |
|
7 | 6 | use LAG\AdminBundle\Admin\Field\EntityFieldInterface; |
8 | 7 | use LAG\AdminBundle\Admin\FieldInterface; |
9 | 8 | use Symfony\Component\DependencyInjection\Container; |