@@ -4,7 +4,6 @@ discard block |
||
4 | 4 | |
5 | 5 | namespace Netgen\InformationCollection\Core\Service; |
6 | 6 | |
7 | -use eZ\Publish\API\Repository\Repository; |
|
8 | 7 | use Netgen\Bundle\InformationCollectionBundle\API\Service\InformationCollection; |
9 | 8 | use Netgen\Bundle\InformationCollectionBundle\API\Value\InformationCollection\Attribute; |
10 | 9 | use Netgen\Bundle\InformationCollectionBundle\API\Value\InformationCollection\Collection; |
@@ -16,6 +15,7 @@ discard block |
||
16 | 15 | use Netgen\Bundle\InformationCollectionBundle\Entity\EzInfoCollectionAttribute; |
17 | 16 | use Netgen\Bundle\InformationCollectionBundle\Repository\EzInfoCollectionAttributeRepository; |
18 | 17 | use Netgen\Bundle\InformationCollectionBundle\Repository\EzInfoCollectionRepository; |
18 | +use eZ\Publish\API\Repository\Repository; |
|
19 | 19 | |
20 | 20 | class InformationCollectionService implements InformationCollection |
21 | 21 | { |
@@ -41,8 +41,6 @@ |
||
41 | 41 | * |
42 | 42 | * @param FormFactoryInterface $formFactory |
43 | 43 | * @param ContentTypeService $contentTypeService |
44 | - * @param RouterInterface $router |
|
45 | - * @param bool $useCsrf |
|
46 | 44 | */ |
47 | 45 | public function __construct(FormFactoryInterface $formFactory, ContentTypeService $contentTypeService) |
48 | 46 | { |
@@ -2,17 +2,15 @@ |
||
2 | 2 | |
3 | 3 | namespace Netgen\InformationCollection\Form\Builder; |
4 | 4 | |
5 | -use eZ\Publish\API\Repository\ContentService; |
|
6 | -use eZ\Publish\API\Repository\ContentTypeService; |
|
7 | -use eZ\Publish\API\Repository\Values\Content\Content; |
|
8 | -use eZ\Publish\API\Repository\Values\Content\Location; |
|
5 | +use Netgen\InformationCollection\API\Form\DynamicFormBuilderInterface; |
|
9 | 6 | use Netgen\InformationCollection\Integration\RepositoryForms\InformationCollectionMapper; |
10 | 7 | use Netgen\InformationCollection\Integration\RepositoryForms\InformationCollectionType; |
11 | 8 | use Symfony\Component\Form\FormBuilderInterface; |
12 | 9 | use Symfony\Component\Form\FormFactoryInterface; |
13 | 10 | use Symfony\Component\Form\FormInterface; |
14 | 11 | use Symfony\Component\Routing\RouterInterface; |
15 | -use Netgen\InformationCollection\API\Form\DynamicFormBuilderInterface; |
|
12 | +use eZ\Publish\API\Repository\ContentTypeService; |
|
13 | +use eZ\Publish\API\Repository\Values\Content\Content; |
|
16 | 14 | |
17 | 15 | class FormBuilder implements DynamicFormBuilderInterface |
18 | 16 | { |
@@ -4,13 +4,12 @@ |
||
4 | 4 | |
5 | 5 | namespace Netgen\InformationCollection\Integration\RepositoryForms; |
6 | 6 | |
7 | -use eZ\Publish\API\Repository\Values\ContentType\ContentType; |
|
8 | -use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition; |
|
9 | -use eZ\Publish\API\Repository\Values\ValueObject; |
|
10 | -use eZ\Publish\SPI\Search\Field; |
|
11 | 7 | use EzSystems\RepositoryForms\Data\Content\FieldData; |
12 | 8 | use EzSystems\RepositoryForms\Data\Mapper\FormDataMapperInterface; |
13 | 9 | use Symfony\Component\OptionsResolver\OptionsResolver; |
10 | +use eZ\Publish\API\Repository\Values\ContentType\ContentType; |
|
11 | +use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition; |
|
12 | +use eZ\Publish\API\Repository\Values\ValueObject; |
|
14 | 13 | |
15 | 14 | class InformationCollectionMapper implements FormDataMapperInterface |
16 | 15 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | namespace Netgen\InformationCollection\Integration\RepositoryForms; |
6 | 6 | |
7 | -use eZ\Publish\API\Repository\Values\Content\ContentStruct; |
|
8 | 7 | use EzSystems\RepositoryForms\Form\Type\Content\BaseContentType; |
9 | 8 | use Symfony\Component\Form\AbstractType; |
10 | 9 | use Symfony\Component\Form\Extension\Core\Type\SubmitType; |