@@ -11,12 +11,11 @@ |
||
11 | 11 | |
12 | 12 | namespace CRUDlex; |
13 | 13 | |
14 | +use CRUDlex\Entity; |
|
15 | +use CRUDlex\EntityDefinition; |
|
14 | 16 | use Symfony\Component\HttpFoundation\Request; |
15 | 17 | use Symfony\Component\HttpFoundation\Response; |
16 | 18 | |
17 | -use CRUDlex\EntityDefinition; |
|
18 | -use CRUDlex\Entity; |
|
19 | - |
|
20 | 19 | /** |
21 | 20 | * The abstract class for reading and writing data. |
22 | 21 | */ |
@@ -11,16 +11,14 @@ |
||
11 | 11 | |
12 | 12 | namespace CRUDlex; |
13 | 13 | |
14 | -use Silex\Application; |
|
15 | -use Silex\ServiceProviderInterface; |
|
16 | -use Symfony\Component\Yaml\Yaml; |
|
17 | -use Symfony\Component\Translation\Loader\YamlFileLoader; |
|
18 | - |
|
19 | -use CRUDlex\EntityDefinition; |
|
20 | 14 | use CRUDlex\DataFactoryInterface; |
21 | -use CRUDlex\Entity; |
|
15 | +use CRUDlex\EntityDefinition; |
|
22 | 16 | use CRUDlex\FileProcessorInterface; |
23 | 17 | use CRUDlex\SimpleFilesystemFileProcessor; |
18 | +use Silex\Application; |
|
19 | +use Silex\ServiceProviderInterface; |
|
20 | +use Symfony\Component\Translation\Loader\YamlFileLoader; |
|
21 | +use Symfony\Component\Yaml\Yaml; |
|
24 | 22 | |
25 | 23 | /** |
26 | 24 | * The ServiceProvider setups and initializes the whole CRUD system. |
@@ -11,12 +11,12 @@ |
||
11 | 11 | |
12 | 12 | namespace CRUDlex; |
13 | 13 | |
14 | +use CRUDlex\Entity; |
|
15 | +use CRUDlex\FileProcessorInterface; |
|
16 | +use CRUDlex\StreamedFileResponse; |
|
14 | 17 | use Symfony\Component\HttpFoundation\Request; |
15 | 18 | use Symfony\Component\HttpFoundation\Response; |
16 | 19 | use Symfony\Component\HttpFoundation\StreamedResponse; |
17 | -use CRUDlex\FileProcessorInterface; |
|
18 | -use CRUDlex\Entity; |
|
19 | -use CRUDlex\StreamedFileResponse; |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * An implementation of the {@see FileProcessorInterface} simply using the |