@@ -4,8 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use ntentan\atiaa\DbContext; |
6 | 6 | use ntentan\kaikai\Cache; |
7 | -use ntentan\nibii\interfaces\ModelFactoryInterface; |
|
8 | 7 | use ntentan\nibii\interfaces\DriverAdapterFactoryInterface; |
8 | +use ntentan\nibii\interfaces\ModelFactoryInterface; |
|
9 | 9 | use ntentan\nibii\interfaces\ValidatorFactoryInterface; |
10 | 10 | |
11 | 11 | /** |
@@ -27,7 +27,6 @@ |
||
27 | 27 | namespace ntentan\nibii\relationships; |
28 | 28 | |
29 | 29 | use ntentan\utils\Text; |
30 | -use ntentan\nibii\ORMContext; |
|
31 | 30 | |
32 | 31 | class HasManyRelationship extends \ntentan\nibii\Relationship { |
33 | 32 |
@@ -26,10 +26,10 @@ |
||
26 | 26 | |
27 | 27 | namespace ntentan\nibii\relationships; |
28 | 28 | |
29 | -use ntentan\utils\Text; |
|
30 | 29 | use ntentan\nibii\NibiiException; |
31 | -use ntentan\nibii\Relationship; |
|
32 | 30 | use ntentan\nibii\ORMContext; |
31 | +use ntentan\nibii\Relationship; |
|
32 | +use ntentan\utils\Text; |
|
33 | 33 | |
34 | 34 | class ManyHaveManyRelationship extends Relationship |
35 | 35 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace ntentan\nibii\factories; |
4 | 4 | |
5 | -use ntentan\utils\Text; |
|
6 | 5 | use ntentan\nibii\interfaces\ModelFactoryInterface; |
6 | +use ntentan\utils\Text; |
|
7 | 7 | |
8 | 8 | class DefaultModelFactory implements ModelFactoryInterface |
9 | 9 | { |
@@ -28,7 +28,6 @@ |
||
28 | 28 | |
29 | 29 | use ntentan\atiaa\Driver; |
30 | 30 | use ntentan\nibii\exceptions\ModelNotFoundException; |
31 | -use ntentan\nibii\exceptions\NibiiException; |
|
32 | 31 | use ntentan\utils\Text; |
33 | 32 | |
34 | 33 | /** |
@@ -26,10 +26,10 @@ |
||
26 | 26 | |
27 | 27 | namespace ntentan\nibii\relationships; |
28 | 28 | |
29 | -use ntentan\nibii\exceptions\FieldNotFoundException; |
|
29 | +use ntentan\nibii\ORMContext; |
|
30 | 30 | use ntentan\nibii\Relationship; |
31 | +use ntentan\nibii\exceptions\FieldNotFoundException; |
|
31 | 32 | use ntentan\utils\Text; |
32 | -use ntentan\nibii\ORMContext; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * Represents a one to many belongs to relationship. |