@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace Doctrine\ODM\MongoDB\Tools\Console\Command\Schema; |
4 | 4 | |
5 | -use Doctrine\Common\Cache\VoidCache; |
|
6 | -use Doctrine\ODM\MongoDB\DocumentManager; |
|
7 | -use Symfony\Component\Console\Command\Command; |
|
8 | -use Symfony\Component\Console\Input\InputInterface; |
|
5 | +use Doctrine\Common\Cache\VoidCache; |
|
6 | +use Doctrine\ODM\MongoDB\DocumentManager; |
|
7 | +use Symfony\Component\Console\Command\Command; |
|
8 | +use Symfony\Component\Console\Input\InputInterface; |
|
9 | 9 | use Symfony\Component\Console\Output\OutputInterface; |
10 | 10 | |
11 | 11 | class ValidateCommand extends Command |
@@ -22,7 +22,6 @@ |
||
22 | 22 | use Doctrine\Common\EventManager; |
23 | 23 | use Doctrine\Common\Persistence\Mapping\MappingException; |
24 | 24 | use Doctrine\MongoDB\CursorInterface; |
25 | -use Doctrine\MongoDB\EagerCursor; |
|
26 | 25 | use Doctrine\ODM\MongoDB\Cursor; |
27 | 26 | use Doctrine\ODM\MongoDB\DocumentManager; |
28 | 27 | use Doctrine\ODM\MongoDB\Query\ReferencePrimer; |
@@ -19,9 +19,6 @@ |
||
19 | 19 | |
20 | 20 | namespace Doctrine\ODM\MongoDB; |
21 | 21 | |
22 | -use Doctrine\MongoDB\CursorInterface; |
|
23 | -use Doctrine\ODM\MongoDB\Mapping\ClassMetadata; |
|
24 | - |
|
25 | 22 | /** |
26 | 23 | * EagerCursor wraps a Cursor instance and fetches all of its results upon |
27 | 24 | * initialization. |
@@ -20,10 +20,8 @@ |
||
20 | 20 | namespace Doctrine\ODM\MongoDB; |
21 | 21 | |
22 | 22 | use Doctrine\Common\Collections\Collection as BaseCollection; |
23 | -use Doctrine\ODM\MongoDB\Mapping\ClassMetadata; |
|
24 | 23 | use Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionInterface; |
25 | 24 | use Doctrine\ODM\MongoDB\PersistentCollection\PersistentCollectionTrait; |
26 | -use Doctrine\ODM\MongoDB\Utility\CollectionHelper; |
|
27 | 25 | |
28 | 26 | /** |
29 | 27 | * A PersistentCollection represents a collection of elements that have persistent state. |