1
0
mirror of synced 2025-01-18 06:21:40 +03:00

fixed use statements

This commit is contained in:
jakoch 2012-10-12 13:53:20 +02:00
parent ec5ad7136f
commit d4a6c488ca
41 changed files with 185 additions and 148 deletions

View File

@ -19,18 +19,18 @@
namespace Doctrine\ORM; namespace Doctrine\ORM;
use Doctrine\Common\Cache\Cache, use Doctrine\Common\Cache\Cache;
Doctrine\Common\Cache\ArrayCache, use Doctrine\Common\Cache\ArrayCache;
Doctrine\Common\Annotations\AnnotationRegistry, use Doctrine\Common\Annotations\AnnotationRegistry;
Doctrine\Common\Annotations\AnnotationReader, use Doctrine\Common\Annotations\AnnotationReader;
Doctrine\Common\Persistence\Mapping\Driver\MappingDriver, use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
Doctrine\ORM\Mapping\Driver\AnnotationDriver, use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
Doctrine\ORM\Mapping\QuoteStrategy, use Doctrine\ORM\Mapping\QuoteStrategy;
Doctrine\ORM\Mapping\DefaultQuoteStrategy, use Doctrine\ORM\Mapping\DefaultQuoteStrategy;
Doctrine\ORM\Mapping\NamingStrategy, use Doctrine\ORM\Mapping\NamingStrategy;
Doctrine\ORM\Mapping\DefaultNamingStrategy, use Doctrine\ORM\Mapping\DefaultNamingStrategy;
Doctrine\Common\Annotations\SimpleAnnotationReader, use Doctrine\Common\Annotations\SimpleAnnotationReader;
Doctrine\Common\Annotations\CachedReader; use Doctrine\Common\Annotations\CachedReader;
/** /**
* Configuration container for all configuration options of Doctrine. * Configuration container for all configuration options of Doctrine.

View File

@ -19,16 +19,16 @@
namespace Doctrine\ORM; namespace Doctrine\ORM;
use Exception, use Exception;
Doctrine\Common\EventManager, use Doctrine\Common\EventManager;
Doctrine\Common\Persistence\ObjectManager, use Doctrine\Common\Persistence\ObjectManager;
Doctrine\DBAL\Connection, use Doctrine\DBAL\Connection;
Doctrine\DBAL\LockMode, use Doctrine\DBAL\LockMode;
Doctrine\ORM\Mapping\ClassMetadata, use Doctrine\ORM\Mapping\ClassMetadata;
Doctrine\ORM\Mapping\ClassMetadataFactory, use Doctrine\ORM\Mapping\ClassMetadataFactory;
Doctrine\ORM\Query\ResultSetMapping, use Doctrine\ORM\Query\ResultSetMapping;
Doctrine\ORM\Proxy\ProxyFactory, use Doctrine\ORM\Proxy\ProxyFactory;
Doctrine\ORM\Query\FilterCollection; use Doctrine\ORM\Query\FilterCollection;
/** /**
* The EntityManager is the central access point to ORM functionality. * The EntityManager is the central access point to ORM functionality.

View File

@ -19,8 +19,8 @@
namespace Doctrine\ORM\Event; namespace Doctrine\ORM\Event;
use Doctrine\Common\EventArgs, use Doctrine\Common\EventArgs;
Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;
/** /**
* Class that holds event arguments for a preInsert/preUpdate event. * Class that holds event arguments for a preInsert/preUpdate event.

View File

@ -19,7 +19,8 @@
namespace Doctrine\ORM\Id; namespace Doctrine\ORM\Id;
use Serializable, Doctrine\ORM\EntityManager; use Serializable;
use Doctrine\ORM\EntityManager;
/** /**
* Represents an ID generator that uses a database sequence. * Represents an ID generator that uses a database sequence.

View File

@ -19,7 +19,8 @@
namespace Doctrine\ORM\Id; namespace Doctrine\ORM\Id;
use Serializable, Doctrine\ORM\EntityManager; use Serializable;
use Doctrine\ORM\EntityManager;
/** /**
* Represents an ID generator that uses the database UUID expression * Represents an ID generator that uses the database UUID expression

View File

@ -19,12 +19,12 @@
namespace Doctrine\ORM\Internal\Hydration; namespace Doctrine\ORM\Internal\Hydration;
use PDO, use PDO;
Doctrine\DBAL\Connection, use Doctrine\DBAL\Connection;
Doctrine\DBAL\Types\Type, use Doctrine\DBAL\Types\Type;
Doctrine\ORM\EntityManager, use Doctrine\ORM\EntityManager;
Doctrine\ORM\Events, use Doctrine\ORM\Events;
Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\Mapping\ClassMetadata;
/** /**
* Base class for all hydrators. A hydrator is a class that provides some form * Base class for all hydrators. A hydrator is a class that provides some form

View File

@ -19,7 +19,9 @@
namespace Doctrine\ORM\Internal\Hydration; namespace Doctrine\ORM\Internal\Hydration;
use PDO, Doctrine\DBAL\Connection, Doctrine\ORM\Mapping\ClassMetadata; use PDO;
use Doctrine\DBAL\Connection;
use Doctrine\ORM\Mapping\ClassMetadata;
/** /**
* The ArrayHydrator produces a nested array "graph" that is often (not always) * The ArrayHydrator produces a nested array "graph" that is often (not always)

View File

@ -1,4 +1,21 @@
<?php <?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software consists of voluntary contributions made by many individuals
* and is licensed under the MIT license. For more information, see
* <http://www.doctrine-project.org>.
*/
namespace Doctrine\ORM\Internal\Hydration; namespace Doctrine\ORM\Internal\Hydration;

View File

@ -19,12 +19,12 @@
namespace Doctrine\ORM\Internal\Hydration; namespace Doctrine\ORM\Internal\Hydration;
use \PDO, use \PDO;
Doctrine\DBAL\Types\Type, use Doctrine\DBAL\Types\Type;
Doctrine\ORM\Mapping\ClassMetadata, use Doctrine\ORM\Mapping\ClassMetadata;
Doctrine\ORM\Event\LifecycleEventArgs, use Doctrine\ORM\Event\LifecycleEventArgs;
Doctrine\ORM\Events, use Doctrine\ORM\Events;
Doctrine\ORM\Query; use Doctrine\ORM\Query;
class SimpleObjectHydrator extends AbstractHydrator class SimpleObjectHydrator extends AbstractHydrator
{ {

View File

@ -19,9 +19,9 @@
namespace Doctrine\ORM\Internal\Hydration; namespace Doctrine\ORM\Internal\Hydration;
use Doctrine\DBAL\Connection, use Doctrine\DBAL\Connection;
Doctrine\ORM\NoResultException, use Doctrine\ORM\NoResultException;
Doctrine\ORM\NonUniqueResultException; use Doctrine\ORM\NonUniqueResultException;
/** /**
* Hydrator that hydrates a single scalar value from the result set. * Hydrator that hydrates a single scalar value from the result set.

View File

@ -17,7 +17,6 @@
* <http://www.doctrine-project.org>. * <http://www.doctrine-project.org>.
*/ */
namespace Doctrine\ORM\Mapping\Builder; namespace Doctrine\ORM\Mapping\Builder;
use Doctrine\ORM\Mapping\ClassMetadata; use Doctrine\ORM\Mapping\ClassMetadata;

View File

@ -19,8 +19,8 @@
namespace Doctrine\ORM\Mapping\Builder; namespace Doctrine\ORM\Mapping\Builder;
use Doctrine\ORM\Mapping\ClassMetadata, use Doctrine\ORM\Mapping\ClassMetadata;
Doctrine\ORM\Mapping\ClassMetadataInfo; use Doctrine\ORM\Mapping\ClassMetadataInfo;
/** /**
* Builder Object for ClassMetadata * Builder Object for ClassMetadata

View File

@ -17,7 +17,6 @@
* <http://www.doctrine-project.org>. * <http://www.doctrine-project.org>.
*/ */
namespace Doctrine\ORM\Mapping\Builder; namespace Doctrine\ORM\Mapping\Builder;
/** /**

View File

@ -17,7 +17,6 @@
* <http://www.doctrine-project.org>. * <http://www.doctrine-project.org>.
*/ */
namespace Doctrine\ORM\Mapping\Builder; namespace Doctrine\ORM\Mapping\Builder;
/** /**

View File

@ -17,7 +17,6 @@
* <http://www.doctrine-project.org>. * <http://www.doctrine-project.org>.
*/ */
namespace Doctrine\ORM\Mapping\Builder; namespace Doctrine\ORM\Mapping\Builder;
/** /**

View File

@ -19,16 +19,16 @@
namespace Doctrine\ORM\Mapping; namespace Doctrine\ORM\Mapping;
use ReflectionException, use ReflectionException;
Doctrine\ORM\ORMException, use Doctrine\ORM\ORMException;
Doctrine\ORM\EntityManager, use Doctrine\ORM\EntityManager;
Doctrine\DBAL\Platforms, use Doctrine\DBAL\Platforms;
Doctrine\ORM\Events, use Doctrine\ORM\Events;
Doctrine\Common\Persistence\Mapping\ReflectionService, use Doctrine\Common\Persistence\Mapping\ReflectionService;
Doctrine\Common\Persistence\Mapping\ClassMetadata as ClassMetadataInterface, use Doctrine\Common\Persistence\Mapping\ClassMetadata as ClassMetadataInterface;
Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory, use Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory;
Doctrine\ORM\Id\IdentityGenerator, use Doctrine\ORM\Id\IdentityGenerator;
Doctrine\ORM\Event\LoadClassMetadataEventArgs; use Doctrine\ORM\Event\LoadClassMetadataEventArgs;
/** /**
* The ClassMetadataFactory is used to create ClassMetadata objects that contain all the * The ClassMetadataFactory is used to create ClassMetadata objects that contain all the

View File

@ -19,8 +19,8 @@
namespace Doctrine\ORM\Persisters; namespace Doctrine\ORM\Persisters;
use Doctrine\ORM\EntityManager, use Doctrine\ORM\EntityManager;
Doctrine\ORM\PersistentCollection; use Doctrine\ORM\PersistentCollection;
/** /**
* Base class for all collection persisters. * Base class for all collection persisters.

View File

@ -19,8 +19,8 @@
namespace Doctrine\ORM\Persisters; namespace Doctrine\ORM\Persisters;
use Doctrine\ORM\Mapping\ClassMetadata, use Doctrine\ORM\Mapping\ClassMetadata;
Doctrine\DBAL\Types\Type; use Doctrine\DBAL\Types\Type;
/** /**
* Base class for entity persisters that implement a certain inheritance mapping strategy. * Base class for entity persisters that implement a certain inheritance mapping strategy.

View File

@ -19,9 +19,9 @@
namespace Doctrine\ORM\Persisters; namespace Doctrine\ORM\Persisters;
use Doctrine\ORM\Mapping\ClassMetadata, use Doctrine\ORM\Mapping\ClassMetadata;
Doctrine\ORM\PersistentCollection, use Doctrine\ORM\PersistentCollection;
Doctrine\ORM\UnitOfWork; use Doctrine\ORM\UnitOfWork;
/** /**
* Persister for many-to-many collections. * Persister for many-to-many collections.

View File

@ -19,8 +19,8 @@
namespace Doctrine\ORM\Persisters; namespace Doctrine\ORM\Persisters;
use Doctrine\ORM\PersistentCollection, use Doctrine\ORM\PersistentCollection;
Doctrine\ORM\UnitOfWork; use Doctrine\ORM\UnitOfWork;
/** /**
* Persister for one-to-many collections. * Persister for one-to-many collections.

View File

@ -1,4 +1,21 @@
<?php <?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software consists of voluntary contributions made by many individuals
* and is licensed under the MIT license. For more information, see
* <http://www.doctrine-project.org>.
*/
namespace Doctrine\ORM\Persisters; namespace Doctrine\ORM\Persisters;

View File

@ -19,9 +19,9 @@
namespace Doctrine\ORM\Proxy; namespace Doctrine\ORM\Proxy;
use Doctrine\ORM\EntityManager, use Doctrine\ORM\EntityManager;
Doctrine\ORM\Mapping\ClassMetadata, use Doctrine\ORM\Mapping\ClassMetadata;
Doctrine\Common\Util\ClassUtils; use Doctrine\Common\Util\ClassUtils;
/** /**
* This factory is used to create proxy objects for entities at runtime. * This factory is used to create proxy objects for entities at runtime.

View File

@ -16,6 +16,7 @@
* and is licensed under the MIT license. For more information, see * and is licensed under the MIT license. For more information, see
* <http://www.doctrine-project.org>. * <http://www.doctrine-project.org>.
*/ */
namespace Doctrine\ORM\Query\AST; namespace Doctrine\ORM\Query\AST;
/** /**

View File

@ -19,8 +19,8 @@
namespace Doctrine\ORM\Query\Exec; namespace Doctrine\ORM\Query\Exec;
use Doctrine\DBAL\Connection, use Doctrine\DBAL\Connection;
Doctrine\ORM\Query\AST; use Doctrine\ORM\Query\AST;
/** /**
* Executes the SQL statements for bulk DQL DELETE statements on classes in * Executes the SQL statements for bulk DQL DELETE statements on classes in

View File

@ -19,9 +19,9 @@
namespace Doctrine\ORM\Query\Exec; namespace Doctrine\ORM\Query\Exec;
use Doctrine\DBAL\Connection, use Doctrine\DBAL\Connection;
Doctrine\ORM\Query\AST\SelectStatement, use Doctrine\ORM\Query\AST\SelectStatement;
Doctrine\ORM\Query\SqlWalker; use Doctrine\ORM\Query\SqlWalker;
/** /**
* Executor that executes the SQL statement for simple DQL SELECT statements. * Executor that executes the SQL statement for simple DQL SELECT statements.

View File

@ -19,8 +19,8 @@
namespace Doctrine\ORM\Query\Exec; namespace Doctrine\ORM\Query\Exec;
use Doctrine\DBAL\Connection, use Doctrine\DBAL\Connection;
Doctrine\ORM\Query\AST; use Doctrine\ORM\Query\AST;
/** /**
* Executor that executes the SQL statements for DQL DELETE/UPDATE statements on classes * Executor that executes the SQL statements for DQL DELETE/UPDATE statements on classes

View File

@ -19,9 +19,9 @@
namespace Doctrine\ORM\Query\Filter; namespace Doctrine\ORM\Query\Filter;
use Doctrine\ORM\EntityManager, use Doctrine\ORM\EntityManager;
Doctrine\ORM\Mapping\ClassMetaData, use Doctrine\ORM\Mapping\ClassMetaData;
Doctrine\ORM\Query\ParameterTypeInferer; use Doctrine\ORM\Query\ParameterTypeInferer;
/** /**
* The base class that user defined filters should extend. * The base class that user defined filters should extend.

View File

@ -19,8 +19,8 @@
namespace Doctrine\ORM\Query; namespace Doctrine\ORM\Query;
use Doctrine\ORM\Configuration, use Doctrine\ORM\Configuration;
Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;
/** /**
* Collection class for all the query filters. * Collection class for all the query filters.

View File

@ -19,12 +19,12 @@
namespace Doctrine\ORM\Query; namespace Doctrine\ORM\Query;
use Doctrine\DBAL\LockMode, use Doctrine\DBAL\LockMode;
Doctrine\DBAL\Types\Type, use Doctrine\DBAL\Types\Type;
Doctrine\ORM\Mapping\ClassMetadata, use Doctrine\ORM\Mapping\ClassMetadata;
Doctrine\ORM\Query, use Doctrine\ORM\Query;
Doctrine\ORM\Query\QueryException, use Doctrine\ORM\Query\QueryException;
Doctrine\ORM\Mapping\ClassMetadataInfo; use Doctrine\ORM\Mapping\ClassMetadataInfo;
/** /**
* The SqlWalker is a TreeWalker that walks over a DQL AST and constructs * The SqlWalker is a TreeWalker that walks over a DQL AST and constructs

View File

@ -19,9 +19,9 @@
namespace Doctrine\ORM\Tools; namespace Doctrine\ORM\Tools;
use Doctrine\ORM\Mapping\ClassMetadataInfo, use Doctrine\ORM\Mapping\ClassMetadataInfo;
Doctrine\ORM\Tools\Export\Driver\AbstractExporter, use Doctrine\ORM\Tools\Export\Driver\AbstractExporter;
Doctrine\Common\Util\Inflector; use Doctrine\Common\Util\Inflector;
/** /**
* Class to help with converting Doctrine 1 schema files to Doctrine 2 mapping files * Class to help with converting Doctrine 1 schema files to Doctrine 2 mapping files

View File

@ -19,9 +19,9 @@
namespace Doctrine\ORM\Tools; namespace Doctrine\ORM\Tools;
use Doctrine\ORM\Mapping\ClassMetadataInfo, use Doctrine\ORM\Mapping\ClassMetadataInfo;
Doctrine\Common\Util\Inflector, use Doctrine\Common\Util\Inflector;
Doctrine\DBAL\Types\Type; use Doctrine\DBAL\Types\Type;
/** /**
* Generic class used to generate PHP5 entity classes from ClassMetadataInfo instances * Generic class used to generate PHP5 entity classes from ClassMetadataInfo instances

View File

@ -19,8 +19,8 @@
namespace Doctrine\ORM\Tools\Export; namespace Doctrine\ORM\Tools\Export;
use Doctrine\ORM\Tools\Export\ExportException, use Doctrine\ORM\Tools\Export\ExportException;
Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;
/** /**
* Class used for converting your mapping information between the * Class used for converting your mapping information between the

View File

@ -19,8 +19,8 @@
namespace Doctrine\ORM\Tools\Export\Driver; namespace Doctrine\ORM\Tools\Export\Driver;
use Doctrine\ORM\Mapping\ClassMetadataInfo, use Doctrine\ORM\Mapping\ClassMetadataInfo;
Doctrine\ORM\Tools\EntityGenerator; use Doctrine\ORM\Tools\EntityGenerator;
/** /**
* ClassMetadata exporter for PHP classes with annotations * ClassMetadata exporter for PHP classes with annotations

View File

@ -13,8 +13,8 @@
namespace Doctrine\ORM\Tools\Pagination; namespace Doctrine\ORM\Tools\Pagination;
use Doctrine\ORM\Query\SqlWalker, use Doctrine\ORM\Query\SqlWalker;
Doctrine\ORM\Query\AST\SelectStatement; use Doctrine\ORM\Query\AST\SelectStatement;
/** /**
* Wrap the query in order to accurately count the root objects * Wrap the query in order to accurately count the root objects

View File

@ -13,11 +13,11 @@
namespace Doctrine\ORM\Tools\Pagination; namespace Doctrine\ORM\Tools\Pagination;
use Doctrine\ORM\Query\TreeWalkerAdapter, use Doctrine\ORM\Query\TreeWalkerAdapter;
Doctrine\ORM\Query\AST\SelectStatement, use Doctrine\ORM\Query\AST\SelectStatement;
Doctrine\ORM\Query\AST\SelectExpression, use Doctrine\ORM\Query\AST\SelectExpression;
Doctrine\ORM\Query\AST\PathExpression, use Doctrine\ORM\Query\AST\PathExpression;
Doctrine\ORM\Query\AST\AggregateExpression; use Doctrine\ORM\Query\AST\AggregateExpression;
/** /**
* Replaces the selectClause of the AST with a COUNT statement * Replaces the selectClause of the AST with a COUNT statement

View File

@ -13,8 +13,8 @@
namespace Doctrine\ORM\Tools\Pagination; namespace Doctrine\ORM\Tools\Pagination;
use Doctrine\ORM\Query\SqlWalker, use Doctrine\ORM\Query\SqlWalker;
Doctrine\ORM\Query\AST\SelectStatement; use Doctrine\ORM\Query\AST\SelectStatement;
/** /**
* Wrap the query in order to select root entity IDs for pagination * Wrap the query in order to select root entity IDs for pagination

View File

@ -18,12 +18,12 @@
namespace Doctrine\ORM\Tools\Pagination; namespace Doctrine\ORM\Tools\Pagination;
use Doctrine\DBAL\Types\Type, use Doctrine\DBAL\Types\Type;
Doctrine\ORM\Query\TreeWalkerAdapter, use Doctrine\ORM\Query\TreeWalkerAdapter;
Doctrine\ORM\Query\AST\SelectStatement, use Doctrine\ORM\Query\AST\SelectStatement;
Doctrine\ORM\Query\AST\SelectExpression, use Doctrine\ORM\Query\AST\SelectExpression;
Doctrine\ORM\Query\AST\PathExpression, use Doctrine\ORM\Query\AST\PathExpression;
Doctrine\ORM\Query\AST\AggregateExpression; use Doctrine\ORM\Query\AST\AggregateExpression;
/** /**
* Replaces the selectClause of the AST with a SELECT DISTINCT root.id equivalent * Replaces the selectClause of the AST with a SELECT DISTINCT root.id equivalent

View File

@ -19,10 +19,10 @@
namespace Doctrine\ORM\Tools\Pagination; namespace Doctrine\ORM\Tools\Pagination;
use Doctrine\ORM\QueryBuilder, use Doctrine\ORM\QueryBuilder;
Doctrine\ORM\Query, use Doctrine\ORM\Query;
Doctrine\ORM\Query\ResultSetMapping, use Doctrine\ORM\Query\ResultSetMapping;
Doctrine\ORM\NoResultException; use Doctrine\ORM\NoResultException;
/** /**
* Paginator * Paginator

View File

@ -17,19 +17,19 @@
namespace Doctrine\ORM\Tools\Pagination; namespace Doctrine\ORM\Tools\Pagination;
use Doctrine\ORM\Query\AST\ArithmeticExpression, use Doctrine\ORM\Query\AST\ArithmeticExpression;
Doctrine\ORM\Query\AST\SimpleArithmeticExpression, use Doctrine\ORM\Query\AST\SimpleArithmeticExpression;
Doctrine\ORM\Query\TreeWalkerAdapter, use Doctrine\ORM\Query\TreeWalkerAdapter;
Doctrine\ORM\Query\AST\SelectStatement, use Doctrine\ORM\Query\AST\SelectStatement;
Doctrine\ORM\Query\AST\PathExpression, use Doctrine\ORM\Query\AST\PathExpression;
Doctrine\ORM\Query\AST\InExpression, use Doctrine\ORM\Query\AST\InExpression;
Doctrine\ORM\Query\AST\NullComparisonExpression, use Doctrine\ORM\Query\AST\NullComparisonExpression;
Doctrine\ORM\Query\AST\InputParameter, use Doctrine\ORM\Query\AST\InputParameter;
Doctrine\ORM\Query\AST\ConditionalPrimary, use Doctrine\ORM\Query\AST\ConditionalPrimary;
Doctrine\ORM\Query\AST\ConditionalTerm, use Doctrine\ORM\Query\AST\ConditionalTerm;
Doctrine\ORM\Query\AST\ConditionalExpression, use Doctrine\ORM\Query\AST\ConditionalExpression;
Doctrine\ORM\Query\AST\ConditionalFactor, use Doctrine\ORM\Query\AST\ConditionalFactor;
Doctrine\ORM\Query\AST\WhereClause; use Doctrine\ORM\Query\AST\WhereClause;
/** /**
* Replaces the whereClause of the AST with a WHERE id IN (:foo_1, :foo_2) equivalent * Replaces the whereClause of the AST with a WHERE id IN (:foo_1, :foo_2) equivalent

View File

@ -19,15 +19,15 @@
namespace Doctrine\ORM\Tools; namespace Doctrine\ORM\Tools;
use Doctrine\ORM\ORMException, use Doctrine\ORM\ORMException;
Doctrine\DBAL\Types\Type, use Doctrine\DBAL\Types\Type;
Doctrine\DBAL\Schema\Schema, use Doctrine\DBAL\Schema\Schema;
Doctrine\DBAL\Schema\Visitor\RemoveNamespacedAssets, use Doctrine\DBAL\Schema\Visitor\RemoveNamespacedAssets;
Doctrine\ORM\EntityManager, use Doctrine\ORM\EntityManager;
Doctrine\ORM\Mapping\ClassMetadata, use Doctrine\ORM\Mapping\ClassMetadata;
Doctrine\ORM\Internal\CommitOrderCalculator, use Doctrine\ORM\Internal\CommitOrderCalculator;
Doctrine\ORM\Tools\Event\GenerateSchemaTableEventArgs, use Doctrine\ORM\Tools\Event\GenerateSchemaTableEventArgs;
Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs; use Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs;
/** /**
* The SchemaTool is a tool to create/drop/update database schemas based on * The SchemaTool is a tool to create/drop/update database schemas based on

View File

@ -19,15 +19,17 @@
namespace Doctrine\ORM; namespace Doctrine\ORM;
use Exception, InvalidArgumentException, UnexpectedValueException, use Exception;
Doctrine\Common\Collections\ArrayCollection, use InvalidArgumentException;
Doctrine\Common\Collections\Collection, use UnexpectedValueException;
Doctrine\Common\NotifyPropertyChanged, use Doctrine\Common\Collections\ArrayCollection;
Doctrine\Common\PropertyChangedListener, use Doctrine\Common\Collections\Collection;
Doctrine\Common\Persistence\ObjectManagerAware, use Doctrine\Common\NotifyPropertyChanged;
Doctrine\ORM\Event\LifecycleEventArgs, use Doctrine\Common\PropertyChangedListener;
Doctrine\ORM\Mapping\ClassMetadata, use Doctrine\Common\Persistence\ObjectManagerAware;
Doctrine\ORM\Proxy\Proxy; use Doctrine\ORM\Event\LifecycleEventArgs;
use Doctrine\ORM\Mapping\ClassMetadata;
use Doctrine\ORM\Proxy\Proxy;
/** /**
* The UnitOfWork is responsible for tracking changes to objects during an * The UnitOfWork is responsible for tracking changes to objects during an