@@ -2,15 +2,15 @@ |
||
2 | 2 | |
3 | 3 | namespace Netgen\Bundle\InformationCollectionBundle\Controller\Admin; |
4 | 4 | |
5 | -use eZ\Bundle\EzPublishCoreBundle\Controller; |
|
6 | -use eZ\Publish\API\Repository\ContentService; |
|
5 | +use League\Csv\Writer; |
|
7 | 6 | use Netgen\InformationCollection\API\Service\Exporter; |
8 | 7 | use Netgen\InformationCollection\API\Value\Export\ExportCriteria; |
9 | 8 | use Netgen\InformationCollection\Form\Type\ExportType; |
10 | -use Symfony\Component\HttpFoundation\Request; |
|
11 | -use League\Csv\Writer; |
|
12 | 9 | use SplTempFileObject; |
10 | +use Symfony\Component\HttpFoundation\Request; |
|
13 | 11 | use Symfony\Component\HttpFoundation\Response; |
12 | +use eZ\Bundle\EzPublishCoreBundle\Controller; |
|
13 | +use eZ\Publish\API\Repository\ContentService; |
|
14 | 14 | |
15 | 15 | final class ExportController extends Controller |
16 | 16 | { |
@@ -2,15 +2,15 @@ |
||
2 | 2 | |
3 | 3 | namespace Netgen\InformationCollection\Form\Builder; |
4 | 4 | |
5 | -use eZ\Publish\API\Repository\ContentTypeService; |
|
6 | -use eZ\Publish\API\Repository\Values\Content\Content; |
|
5 | +use Netgen\InformationCollection\API\Form\DynamicFormBuilderInterface; |
|
7 | 6 | use Netgen\InformationCollection\Integration\RepositoryForms\InformationCollectionMapper; |
8 | 7 | use Netgen\InformationCollection\Integration\RepositoryForms\InformationCollectionType; |
9 | 8 | use Symfony\Component\Form\FormBuilderInterface; |
10 | 9 | use Symfony\Component\Form\FormFactoryInterface; |
11 | 10 | use Symfony\Component\Form\FormInterface; |
12 | 11 | use Symfony\Component\Routing\RouterInterface; |
13 | -use Netgen\InformationCollection\API\Form\DynamicFormBuilderInterface; |
|
12 | +use eZ\Publish\API\Repository\ContentTypeService; |
|
13 | +use eZ\Publish\API\Repository\Values\Content\Content; |
|
14 | 14 | |
15 | 15 | class FormBuilder implements DynamicFormBuilderInterface |
16 | 16 | { |