@@ -6,10 +6,10 @@ |
||
6 | 6 | |
7 | 7 | namespace TheSportsDb\Entity; |
8 | 8 | |
9 | +use FastNorth\PropertyMapper\Map; |
|
10 | +use FastNorth\PropertyMapper\MapperInterface; |
|
9 | 11 | use TheSportsDb\Entity\Factory\FactoryContainerInterface; |
10 | 12 | use TheSportsDb\Entity\Repository\RepositoryContainerInterface; |
11 | -use FastNorth\PropertyMapper\MapperInterface; |
|
12 | -use FastNorth\PropertyMapper\Map; |
|
13 | 13 | use TheSportsDb\PropertyMapper\Transformer\Callback; |
14 | 14 | |
15 | 15 | /** |
@@ -6,8 +6,6 @@ |
||
6 | 6 | |
7 | 7 | namespace TheSportsDb\Entity; |
8 | 8 | |
9 | -use TheSportsDb\Entity\LeagueInterface; |
|
10 | - |
|
11 | 9 | /** |
12 | 10 | * Interface for events. |
13 | 11 | * |
@@ -6,12 +6,12 @@ |
||
6 | 6 | |
7 | 7 | namespace TheSportsDb\Entity\Factory; |
8 | 8 | |
9 | -use TheSportsDb\Http\TheSportsDbClientInterface; |
|
10 | -use TheSportsDb\Entity\EntityInterface; |
|
11 | -use TheSportsDb\Entity\Proxy\ProxyInterface; |
|
12 | 9 | use FastNorth\PropertyMapper\MapperInterface; |
13 | -use TheSportsDb\Entity\EntityManagerInterface; |
|
10 | +use TheSportsDb\Entity\EntityInterface; |
|
14 | 11 | use TheSportsDb\Entity\EntityManagerConsumerTrait; |
12 | +use TheSportsDb\Entity\EntityManagerInterface; |
|
13 | +use TheSportsDb\Entity\Proxy\ProxyInterface; |
|
14 | +use TheSportsDb\Http\TheSportsDbClientInterface; |
|
15 | 15 | |
16 | 16 | /** |
17 | 17 | * Default implementation of factories. |
@@ -6,9 +6,8 @@ |
||
6 | 6 | |
7 | 7 | namespace TheSportsDb\Entity\Proxy; |
8 | 8 | |
9 | -use TheSportsDb\Exception\TheSportsDbException; |
|
10 | 9 | use TheSportsDb\Entity\LeagueInterface; |
11 | -use TheSportsDb\Entity\League; |
|
10 | +use TheSportsDb\Exception\TheSportsDbException; |
|
12 | 11 | |
13 | 12 | /** |
14 | 13 | * A league object that is not yet fully loaded. |
@@ -6,10 +6,10 @@ |
||
6 | 6 | |
7 | 7 | namespace TheSportsDb\Entity\Proxy; |
8 | 8 | |
9 | -use TheSportsDb\Http\TheSportsDbClientInterface; |
|
10 | -use TheSportsDb\Entity\EntityManagerInterface; |
|
11 | 9 | use TheSportsDb\Entity\EntityInterface; |
12 | 10 | use TheSportsDb\Entity\EntityManagerConsumerTrait; |
11 | +use TheSportsDb\Entity\EntityManagerInterface; |
|
12 | +use TheSportsDb\Http\TheSportsDbClientInterface; |
|
13 | 13 | |
14 | 14 | /** |
15 | 15 | * Default implementation of proxy objects. |
@@ -7,8 +7,8 @@ |
||
7 | 7 | namespace TheSportsDb\Entity\Proxy; |
8 | 8 | |
9 | 9 | use TheSportsDb\Entity\EntityInterface; |
10 | -use TheSportsDb\Http\TheSportsDbClientInterface; |
|
11 | 10 | use TheSportsDb\Entity\EntityManagerConsumerInterface; |
11 | +use TheSportsDb\Http\TheSportsDbClientInterface; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Interface for proxy objects. |
@@ -6,8 +6,8 @@ |
||
6 | 6 | |
7 | 7 | namespace TheSportsDb\Entity\Proxy; |
8 | 8 | |
9 | -use TheSportsDb\Exception\TheSportsDbException; |
|
10 | 9 | use TheSportsDb\Entity\SeasonInterface; |
10 | +use TheSportsDb\Exception\TheSportsDbException; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * A sport object that is not yet fully loaded. |
@@ -6,8 +6,8 @@ |
||
6 | 6 | |
7 | 7 | namespace TheSportsDb\Entity\Repository; |
8 | 8 | |
9 | -use TheSportsDb\Entity\EntityManagerInterface; |
|
10 | 9 | use TheSportsDb\Entity\EntityManagerConsumerTrait; |
10 | +use TheSportsDb\Entity\EntityManagerInterface; |
|
11 | 11 | use TheSportsDb\Http\TheSportsDbClientInterface; |
12 | 12 | |
13 | 13 | /** |