@@ -22,13 +22,10 @@ |
||
22 | 22 | use Shitty\Common\Util\ClassUtils; |
23 | 23 | use Shitty\Common\Collections\Collection; |
24 | 24 | use Shitty\Common\Collections\ArrayCollection; |
25 | - |
|
26 | 25 | use Shitty\ORM\Query\Parameter; |
27 | 26 | use Shitty\ORM\Cache\QueryCacheKey; |
28 | 27 | use Shitty\DBAL\Cache\QueryCacheProfile; |
29 | - |
|
30 | 28 | use Shitty\ORM\Cache; |
31 | -use Shitty\ORM\Query\QueryException; |
|
32 | 29 | |
33 | 30 | /** |
34 | 31 | * Base contract for ORM queries. Base class for Query and NativeQuery. |
@@ -21,7 +21,6 @@ |
||
21 | 21 | |
22 | 22 | use Doctrine\Common\Collections\ArrayCollection; |
23 | 23 | use Doctrine\Common\Collections\Criteria; |
24 | - |
|
25 | 24 | use Doctrine\ORM\Query\Expr; |
26 | 25 | use Doctrine\ORM\Query\QueryExpressionVisitor; |
27 | 26 |
@@ -24,9 +24,6 @@ |
||
24 | 24 | use Shitty\ORM\Mapping\ClassMetadata; |
25 | 25 | use Shitty\ORM\PersistentCollection; |
26 | 26 | use Shitty\ORM\Query; |
27 | -use Shitty\ORM\Events; |
|
28 | -use Shitty\ORM\Event\LifecycleEventArgs; |
|
29 | -use Shitty\ORM\Event\PostLoadEventDispatcher; |
|
30 | 27 | use Shitty\Common\Collections\ArrayCollection; |
31 | 28 | use Shitty\ORM\Proxy\Proxy; |
32 | 29 |
@@ -20,7 +20,6 @@ |
||
20 | 20 | namespace Shitty\ORM\Internal\Hydration; |
21 | 21 | |
22 | 22 | use PDO; |
23 | -use Shitty\DBAL\Types\Type; |
|
24 | 23 | use Shitty\ORM\Mapping\ClassMetadata; |
25 | 24 | use Shitty\ORM\Query; |
26 | 25 |
@@ -20,11 +20,8 @@ |
||
20 | 20 | namespace Shitty\ORM\Persisters\Entity; |
21 | 21 | |
22 | 22 | use Shitty\ORM\Mapping\ClassMetadata; |
23 | -use Shitty\ORM\Query\ResultSetMapping; |
|
24 | - |
|
25 | 23 | use Shitty\DBAL\LockMode; |
26 | 24 | use Shitty\DBAL\Types\Type; |
27 | - |
|
28 | 25 | use Shitty\Common\Collections\Criteria; |
29 | 26 | use Shitty\ORM\Utility\PersisterHelper; |
30 | 27 |
@@ -21,7 +21,6 @@ |
||
21 | 21 | |
22 | 22 | use Doctrine\Common\Collections\ArrayCollection; |
23 | 23 | use Doctrine\Common\Collections\Criteria; |
24 | - |
|
25 | 24 | use Doctrine\ORM\Query\Expr; |
26 | 25 | use Doctrine\ORM\Query\QueryExpressionVisitor; |
27 | 26 |
@@ -19,7 +19,6 @@ |
||
19 | 19 | |
20 | 20 | namespace Shitty\ORM\Query; |
21 | 21 | |
22 | -use Shitty\DBAL\Types\Type; |
|
23 | 22 | use Shitty\ORM\EntityManagerInterface; |
24 | 23 | use Shitty\ORM\Mapping\ClassMetadataInfo; |
25 | 24 | use Shitty\ORM\Mapping\MappingException; |
@@ -21,7 +21,6 @@ |
||
21 | 21 | |
22 | 22 | use Doctrine\Common\Collections\ArrayCollection; |
23 | 23 | use Doctrine\Common\Collections\Criteria; |
24 | - |
|
25 | 24 | use Doctrine\ORM\Query\Expr; |
26 | 25 | use Doctrine\ORM\Query\QueryExpressionVisitor; |
27 | 26 |
@@ -21,7 +21,6 @@ |
||
21 | 21 | |
22 | 22 | use Doctrine\Common\Collections\ArrayCollection; |
23 | 23 | use Doctrine\Common\Collections\Criteria; |
24 | - |
|
25 | 24 | use Doctrine\ORM\Query\Expr; |
26 | 25 | use Doctrine\ORM\Query\QueryExpressionVisitor; |
27 | 26 |