@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use League\Event\EmitterInterface; |
| 14 | 14 | use League\Event\ListenerInterface; |
| 15 | 15 | use Slick\Database\Adapter\AdapterInterface; |
| 16 | -use Slick\Orm\Descriptor\EntityDescriptor; |
|
| 17 | 16 | use Slick\Orm\Descriptor\EntityDescriptorRegistry; |
| 18 | 17 | use Slick\Orm\Event\EmittersMap; |
| 19 | 18 | use Slick\Orm\Exception\InvalidArgumentException; |
@@ -11,9 +11,9 @@ |
||
| 11 | 11 | |
| 12 | 12 | use Slick\Database\Sql; |
| 13 | 13 | use Slick\Orm\EntityInterface; |
| 14 | +use Slick\Orm\RepositoryInterface; |
|
| 14 | 15 | use Slick\Orm\Repository\QueryObject\QueryObject; |
| 15 | 16 | use Slick\Orm\Repository\QueryObject\QueryObjectInterface; |
| 16 | -use Slick\Orm\RepositoryInterface; |
|
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * Class EntityRepository |
@@ -15,9 +15,9 @@ |
||
| 15 | 15 | use Slick\Orm\Descriptor\EntityDescriptorInterface; |
| 16 | 16 | use Slick\Orm\Descriptor\EntityDescriptorRegistry; |
| 17 | 17 | use Slick\Orm\Descriptor\Field\FieldDescriptor; |
| 18 | -use Slick\Orm\Entity\EntityCollection; |
|
| 19 | 18 | use Slick\Orm\EntityInterface; |
| 20 | 19 | use Slick\Orm\EntityMapperInterface; |
| 20 | +use Slick\Orm\Entity\EntityCollection; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Generic Entity Mapper |
@@ -15,9 +15,9 @@ |
||
| 15 | 15 | use Slick\Orm\Descriptor\EntityDescriptorInterface; |
| 16 | 16 | use Slick\Orm\Descriptor\EntityDescriptorRegistry; |
| 17 | 17 | use Slick\Orm\Descriptor\Field\FieldDescriptor; |
| 18 | -use Slick\Orm\Entity\EntityCollection; |
|
| 19 | 18 | use Slick\Orm\EntityInterface; |
| 20 | 19 | use Slick\Orm\EntityMapperInterface; |
| 20 | +use Slick\Orm\Entity\EntityCollection; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Generic Entity Mapper |
@@ -15,9 +15,9 @@ |
||
| 15 | 15 | use Slick\Orm\Descriptor\EntityDescriptorInterface; |
| 16 | 16 | use Slick\Orm\Descriptor\EntityDescriptorRegistry; |
| 17 | 17 | use Slick\Orm\Descriptor\Field\FieldDescriptor; |
| 18 | -use Slick\Orm\Entity\EntityCollection; |
|
| 19 | 18 | use Slick\Orm\EntityInterface; |
| 20 | 19 | use Slick\Orm\EntityMapperInterface; |
| 20 | +use Slick\Orm\Entity\EntityCollection; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Generic Entity Mapper |
@@ -11,9 +11,9 @@ |
||
| 11 | 11 | |
| 12 | 12 | use Slick\Common\Utils\Text; |
| 13 | 13 | use Slick\Database\Sql; |
| 14 | +use Slick\Orm\EntityInterface; |
|
| 14 | 15 | use Slick\Orm\Entity\EntityCollection; |
| 15 | 16 | use Slick\Orm\Entity\EntityCollectionInterface; |
| 16 | -use Slick\Orm\EntityInterface; |
|
| 17 | 17 | use Slick\Orm\Event\EntityAdded; |
| 18 | 18 | use Slick\Orm\Mapper\RelationInterface; |
| 19 | 19 | |
@@ -11,9 +11,9 @@ |
||
| 11 | 11 | |
| 12 | 12 | use Slick\Common\Utils\Text; |
| 13 | 13 | use Slick\Database\Sql; |
| 14 | +use Slick\Orm\EntityInterface; |
|
| 14 | 15 | use Slick\Orm\Entity\EntityCollection; |
| 15 | 16 | use Slick\Orm\Entity\EntityCollectionInterface; |
| 16 | -use Slick\Orm\EntityInterface; |
|
| 17 | 17 | use Slick\Orm\Event\EntityAdded; |
| 18 | 18 | use Slick\Orm\Mapper\RelationInterface; |
| 19 | 19 | |
@@ -12,10 +12,10 @@ |
||
| 12 | 12 | use Slick\Database\RecordList; |
| 13 | 13 | use Slick\Database\Sql; |
| 14 | 14 | use Slick\Orm\Descriptor\Field\FieldDescriptor; |
| 15 | -use Slick\Orm\Entity\EntityCollectionInterface; |
|
| 16 | 15 | use Slick\Orm\EntityInterface; |
| 17 | 16 | use Slick\Orm\EntityMapperInterface; |
| 18 | 17 | use Slick\Orm\Entity\EntityCollection; |
| 18 | +use Slick\Orm\Entity\EntityCollectionInterface; |
|
| 19 | 19 | use Slick\Orm\Orm; |
| 20 | 20 | |
| 21 | 21 | /** |