1
0
mirror of synced 2025-02-21 14:43:14 +03:00

Added absolute namespace paths to phpdoc annotations - issue DDC-1025.

This commit is contained in:
Andrew Mackrodt 2011-12-11 20:52:29 +00:00
parent 853a0ee865
commit 2fdb55a878
24 changed files with 115 additions and 115 deletions

View File

@ -77,7 +77,7 @@ abstract class AbstractQuery
protected $_resultSetMapping; protected $_resultSetMapping;
/** /**
* @var Doctrine\ORM\EntityManager The entity manager used by this query object. * @var \Doctrine\ORM\EntityManager The entity manager used by this query object.
*/ */
protected $_em; protected $_em;
@ -104,7 +104,7 @@ abstract class AbstractQuery
/** /**
* Initializes a new instance of a class derived from <tt>AbstractQuery</tt>. * Initializes a new instance of a class derived from <tt>AbstractQuery</tt>.
* *
* @param Doctrine\ORM\EntityManager $entityManager * @param \Doctrine\ORM\EntityManager $entityManager
*/ */
public function __construct(EntityManager $em) public function __construct(EntityManager $em)
{ {
@ -114,7 +114,7 @@ abstract class AbstractQuery
/** /**
* Retrieves the associated EntityManager of this Query instance. * Retrieves the associated EntityManager of this Query instance.
* *
* @return Doctrine\ORM\EntityManager * @return \Doctrine\ORM\EntityManager
*/ */
public function getEntityManager() public function getEntityManager()
{ {
@ -202,7 +202,7 @@ abstract class AbstractQuery
* @param string $type The parameter type. If specified, the given value will be run through * @param string $type The parameter type. If specified, the given value will be run through
* the type conversion of this type. This is usually not needed for * the type conversion of this type. This is usually not needed for
* strings and numeric types. * strings and numeric types.
* @return Doctrine\ORM\AbstractQuery This query instance. * @return \Doctrine\ORM\AbstractQuery This query instance.
*/ */
public function setParameter($key, $value, $type = null) public function setParameter($key, $value, $type = null)
{ {
@ -223,7 +223,7 @@ abstract class AbstractQuery
* *
* @param array $params * @param array $params
* @param array $types * @param array $types
* @return Doctrine\ORM\AbstractQuery This query instance. * @return \Doctrine\ORM\AbstractQuery This query instance.
*/ */
public function setParameters(array $params, array $types = array()) public function setParameters(array $params, array $types = array())
{ {
@ -238,7 +238,7 @@ abstract class AbstractQuery
* Sets the ResultSetMapping that should be used for hydration. * Sets the ResultSetMapping that should be used for hydration.
* *
* @param ResultSetMapping $rsm * @param ResultSetMapping $rsm
* @return Doctrine\ORM\AbstractQuery * @return \Doctrine\ORM\AbstractQuery
*/ */
public function setResultSetMapping(Query\ResultSetMapping $rsm) public function setResultSetMapping(Query\ResultSetMapping $rsm)
{ {
@ -250,8 +250,8 @@ abstract class AbstractQuery
/** /**
* Defines a cache driver to be used for caching result sets and implictly enables caching. * Defines a cache driver to be used for caching result sets and implictly enables caching.
* *
* @param Doctrine\Common\Cache\Cache $driver Cache driver * @param \Doctrine\Common\Cache\Cache $driver Cache driver
* @return Doctrine\ORM\AbstractQuery * @return \Doctrine\ORM\AbstractQuery
*/ */
public function setResultCacheDriver($resultCacheDriver = null) public function setResultCacheDriver($resultCacheDriver = null)
{ {
@ -270,7 +270,7 @@ abstract class AbstractQuery
* Returns the cache driver used for caching result sets. * Returns the cache driver used for caching result sets.
* *
* @deprecated * @deprecated
* @return Doctrine\Common\Cache\Cache Cache driver * @return \Doctrine\Common\Cache\Cache Cache driver
*/ */
public function getResultCacheDriver() public function getResultCacheDriver()
{ {
@ -288,7 +288,7 @@ abstract class AbstractQuery
* @param boolean $bool * @param boolean $bool
* @param integer $lifetime * @param integer $lifetime
* @param string $resultCacheId * @param string $resultCacheId
* @return Doctrine\ORM\AbstractQuery This query instance. * @return \Doctrine\ORM\AbstractQuery This query instance.
*/ */
public function useResultCache($bool, $lifetime = null, $resultCacheId = null) public function useResultCache($bool, $lifetime = null, $resultCacheId = null)
{ {
@ -308,7 +308,7 @@ abstract class AbstractQuery
* Defines how long the result cache will be active before expire. * Defines how long the result cache will be active before expire.
* *
* @param integer $lifetime How long the cache entry is valid. * @param integer $lifetime How long the cache entry is valid.
* @return Doctrine\ORM\AbstractQuery This query instance. * @return \Doctrine\ORM\AbstractQuery This query instance.
*/ */
public function setResultCacheLifetime($lifetime) public function setResultCacheLifetime($lifetime)
{ {
@ -336,7 +336,7 @@ abstract class AbstractQuery
* Defines if the result cache is active or not. * Defines if the result cache is active or not.
* *
* @param boolean $expire Whether or not to force resultset cache expiration. * @param boolean $expire Whether or not to force resultset cache expiration.
* @return Doctrine\ORM\AbstractQuery This query instance. * @return \Doctrine\ORM\AbstractQuery This query instance.
*/ */
public function expireResultCache($expire = true) public function expireResultCache($expire = true)
{ {
@ -389,7 +389,7 @@ abstract class AbstractQuery
* *
* @param integer $hydrationMode Doctrine processing mode to be used during hydration process. * @param integer $hydrationMode Doctrine processing mode to be used during hydration process.
* One of the Query::HYDRATE_* constants. * One of the Query::HYDRATE_* constants.
* @return Doctrine\ORM\AbstractQuery This query instance. * @return \Doctrine\ORM\AbstractQuery This query instance.
*/ */
public function setHydrationMode($hydrationMode) public function setHydrationMode($hydrationMode)
{ {
@ -520,7 +520,7 @@ abstract class AbstractQuery
* *
* @param string $name The name of the hint. * @param string $name The name of the hint.
* @param mixed $value The value of the hint. * @param mixed $value The value of the hint.
* @return Doctrine\ORM\AbstractQuery * @return \Doctrine\ORM\AbstractQuery
*/ */
public function setHint($name, $value) public function setHint($name, $value)
{ {
@ -609,7 +609,7 @@ abstract class AbstractQuery
* generated for you. * generated for you.
* *
* @param string $id * @param string $id
* @return Doctrine\ORM\AbstractQuery This query instance. * @return \Doctrine\ORM\AbstractQuery This query instance.
*/ */
public function setResultCacheId($id) public function setResultCacheId($id)
{ {
@ -634,7 +634,7 @@ abstract class AbstractQuery
/** /**
* Executes the query and returns a the resulting Statement object. * Executes the query and returns a the resulting Statement object.
* *
* @return Doctrine\DBAL\Driver\Statement The executed database statement that holds the results. * @return \Doctrine\DBAL\Driver\Statement The executed database statement that holds the results.
*/ */
abstract protected function _doExecute(); abstract protected function _doExecute();

View File

@ -43,21 +43,21 @@ class EntityManager implements ObjectManager
/** /**
* The used Configuration. * The used Configuration.
* *
* @var Doctrine\ORM\Configuration * @var \Doctrine\ORM\Configuration
*/ */
private $config; private $config;
/** /**
* The database connection used by the EntityManager. * The database connection used by the EntityManager.
* *
* @var Doctrine\DBAL\Connection * @var \Doctrine\DBAL\Connection
*/ */
private $conn; private $conn;
/** /**
* The metadata factory, used to retrieve the ORM metadata of entity classes. * The metadata factory, used to retrieve the ORM metadata of entity classes.
* *
* @var Doctrine\ORM\Mapping\ClassMetadataFactory * @var \Doctrine\ORM\Mapping\ClassMetadataFactory
*/ */
private $metadataFactory; private $metadataFactory;
@ -71,14 +71,14 @@ class EntityManager implements ObjectManager
/** /**
* The UnitOfWork used to coordinate object-level transactions. * The UnitOfWork used to coordinate object-level transactions.
* *
* @var Doctrine\ORM\UnitOfWork * @var \Doctrine\ORM\UnitOfWork
*/ */
private $unitOfWork; private $unitOfWork;
/** /**
* The event manager that is the central point of the event system. * The event manager that is the central point of the event system.
* *
* @var Doctrine\Common\EventManager * @var \Doctrine\Common\EventManager
*/ */
private $eventManager; private $eventManager;
@ -92,14 +92,14 @@ class EntityManager implements ObjectManager
/** /**
* The proxy factory used to create dynamic proxies. * The proxy factory used to create dynamic proxies.
* *
* @var Doctrine\ORM\Proxy\ProxyFactory * @var \Doctrine\ORM\Proxy\ProxyFactory
*/ */
private $proxyFactory; private $proxyFactory;
/** /**
* The expression builder instance used to generate query expressions. * The expression builder instance used to generate query expressions.
* *
* @var Doctrine\ORM\Query\Expr * @var \Doctrine\ORM\Query\Expr
*/ */
private $expressionBuilder; private $expressionBuilder;
@ -114,9 +114,9 @@ class EntityManager implements ObjectManager
* Creates a new EntityManager that operates on the given database connection * Creates a new EntityManager that operates on the given database connection
* and uses the given Configuration and EventManager implementations. * and uses the given Configuration and EventManager implementations.
* *
* @param Doctrine\DBAL\Connection $conn * @param \Doctrine\DBAL\Connection $conn
* @param Doctrine\ORM\Configuration $config * @param \Doctrine\ORM\Configuration $config
* @param Doctrine\Common\EventManager $eventManager * @param \Doctrine\Common\EventManager $eventManager
*/ */
protected function __construct(Connection $conn, Configuration $config, EventManager $eventManager) protected function __construct(Connection $conn, Configuration $config, EventManager $eventManager)
{ {
@ -141,7 +141,7 @@ class EntityManager implements ObjectManager
/** /**
* Gets the database connection object used by the EntityManager. * Gets the database connection object used by the EntityManager.
* *
* @return Doctrine\DBAL\Connection * @return \Doctrine\DBAL\Connection
*/ */
public function getConnection() public function getConnection()
{ {
@ -151,7 +151,7 @@ class EntityManager implements ObjectManager
/** /**
* Gets the metadata factory used to gather the metadata of classes. * Gets the metadata factory used to gather the metadata of classes.
* *
* @return Doctrine\ORM\Mapping\ClassMetadataFactory * @return \Doctrine\ORM\Mapping\ClassMetadataFactory
*/ */
public function getMetadataFactory() public function getMetadataFactory()
{ {
@ -170,7 +170,7 @@ class EntityManager implements ObjectManager
* ->where($expr->orX($expr->eq('u.id', 1), $expr->eq('u.id', 2))); * ->where($expr->orX($expr->eq('u.id', 1), $expr->eq('u.id', 2)));
* </code> * </code>
* *
* @return Doctrine\ORM\Query\Expr * @return \Doctrine\ORM\Query\Expr
*/ */
public function getExpressionBuilder() public function getExpressionBuilder()
{ {
@ -253,7 +253,7 @@ class EntityManager implements ObjectManager
* MyProject\Domain\User * MyProject\Domain\User
* sales:PriceRequest * sales:PriceRequest
* *
* @return Doctrine\ORM\Mapping\ClassMetadata * @return \Doctrine\ORM\Mapping\ClassMetadata
* @internal Performance-sensitive method. * @internal Performance-sensitive method.
*/ */
public function getClassMetadata($className) public function getClassMetadata($className)
@ -265,7 +265,7 @@ class EntityManager implements ObjectManager
* Creates a new Query object. * Creates a new Query object.
* *
* @param string The DQL string. * @param string The DQL string.
* @return Doctrine\ORM\Query * @return \Doctrine\ORM\Query
*/ */
public function createQuery($dql = "") public function createQuery($dql = "")
{ {
@ -282,7 +282,7 @@ class EntityManager implements ObjectManager
* Creates a Query from a named query. * Creates a Query from a named query.
* *
* @param string $name * @param string $name
* @return Doctrine\ORM\Query * @return \Doctrine\ORM\Query
*/ */
public function createNamedQuery($name) public function createNamedQuery($name)
{ {
@ -309,7 +309,7 @@ class EntityManager implements ObjectManager
* Creates a NativeQuery from a named native query. * Creates a NativeQuery from a named native query.
* *
* @param string $name * @param string $name
* @return Doctrine\ORM\NativeQuery * @return \Doctrine\ORM\NativeQuery
*/ */
public function createNamedNativeQuery($name) public function createNamedNativeQuery($name)
{ {
@ -337,7 +337,7 @@ class EntityManager implements ObjectManager
* the cascade-persist semantics + scheduled inserts/removals are synchronized. * the cascade-persist semantics + scheduled inserts/removals are synchronized.
* *
* @param object $entity * @param object $entity
* @throws Doctrine\ORM\OptimisticLockException If a version check on an entity that * @throws \Doctrine\ORM\OptimisticLockException If a version check on an entity that
* makes use of optimistic locking fails. * makes use of optimistic locking fails.
*/ */
public function flush($entity = null) public function flush($entity = null)
@ -632,7 +632,7 @@ class EntityManager implements ObjectManager
/** /**
* Gets the EventManager used by the EntityManager. * Gets the EventManager used by the EntityManager.
* *
* @return Doctrine\Common\EventManager * @return \Doctrine\Common\EventManager
*/ */
public function getEventManager() public function getEventManager()
{ {
@ -642,7 +642,7 @@ class EntityManager implements ObjectManager
/** /**
* Gets the Configuration used by the EntityManager. * Gets the Configuration used by the EntityManager.
* *
* @return Doctrine\ORM\Configuration * @return \Doctrine\ORM\Configuration
*/ */
public function getConfiguration() public function getConfiguration()
{ {
@ -674,7 +674,7 @@ class EntityManager implements ObjectManager
/** /**
* Gets the UnitOfWork used by the EntityManager to coordinate operations. * Gets the UnitOfWork used by the EntityManager to coordinate operations.
* *
* @return Doctrine\ORM\UnitOfWork * @return \Doctrine\ORM\UnitOfWork
*/ */
public function getUnitOfWork() public function getUnitOfWork()
{ {
@ -688,7 +688,7 @@ class EntityManager implements ObjectManager
* selectively iterate over the result. * selectively iterate over the result.
* *
* @param int $hydrationMode * @param int $hydrationMode
* @return Doctrine\ORM\Internal\Hydration\AbstractHydrator * @return \Doctrine\ORM\Internal\Hydration\AbstractHydrator
*/ */
public function getHydrator($hydrationMode) public function getHydrator($hydrationMode)
{ {
@ -703,7 +703,7 @@ class EntityManager implements ObjectManager
* Create a new instance for the given hydration mode. * Create a new instance for the given hydration mode.
* *
* @param int $hydrationMode * @param int $hydrationMode
* @return Doctrine\ORM\Internal\Hydration\AbstractHydrator * @return \Doctrine\ORM\Internal\Hydration\AbstractHydrator
*/ */
public function newHydrator($hydrationMode) public function newHydrator($hydrationMode)
{ {

View File

@ -48,7 +48,7 @@ class EntityRepository implements ObjectRepository
protected $_em; protected $_em;
/** /**
* @var Doctrine\ORM\Mapping\ClassMetadata * @var \Doctrine\ORM\Mapping\ClassMetadata
*/ */
protected $_class; protected $_class;

View File

@ -26,7 +26,7 @@ abstract class AbstractIdGenerator
/** /**
* Generates an identifier for an entity. * Generates an identifier for an entity.
* *
* @param Doctrine\ORM\Entity $entity * @param \Doctrine\ORM\Entity $entity
* @return mixed * @return mixed
*/ */
abstract public function generate(EntityManager $em, $entity); abstract public function generate(EntityManager $em, $entity);

View File

@ -37,7 +37,7 @@ class SequenceGenerator extends AbstractIdGenerator implements Serializable
/** /**
* Initializes a new sequence generator. * Initializes a new sequence generator.
* *
* @param Doctrine\ORM\EntityManager $em The EntityManager to use. * @param \Doctrine\ORM\EntityManager $em The EntityManager to use.
* @param string $sequenceName The name of the sequence. * @param string $sequenceName The name of the sequence.
* @param integer $allocationSize The allocation size of the sequence. * @param integer $allocationSize The allocation size of the sequence.
*/ */

View File

@ -60,7 +60,7 @@ abstract class AbstractHydrator
/** /**
* Initializes a new instance of a class derived from <tt>AbstractHydrator</tt>. * Initializes a new instance of a class derived from <tt>AbstractHydrator</tt>.
* *
* @param Doctrine\ORM\EntityManager $em The EntityManager to use. * @param \Doctrine\ORM\EntityManager $em The EntityManager to use.
*/ */
public function __construct(EntityManager $em) public function __construct(EntityManager $em)
{ {

View File

@ -29,7 +29,7 @@ namespace Doctrine\ORM\Internal\Hydration;
class IterableResult implements \Iterator class IterableResult implements \Iterator
{ {
/** /**
* @var Doctrine\ORM\Internal\Hydration\AbstractHydrator * @var \Doctrine\ORM\Internal\Hydration\AbstractHydrator
*/ */
private $_hydrator; private $_hydrator;
@ -49,7 +49,7 @@ class IterableResult implements \Iterator
private $_current = null; private $_current = null;
/** /**
* @param Doctrine\ORM\Internal\Hydration\AbstractHydrator $hydrator * @param \Doctrine\ORM\Internal\Hydration\AbstractHydrator $hydrator
*/ */
public function __construct($hydrator) public function __construct($hydrator)
{ {

View File

@ -85,7 +85,7 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface
/** /**
* Sets the cache driver used by the factory to cache ClassMetadata instances. * Sets the cache driver used by the factory to cache ClassMetadata instances.
* *
* @param Doctrine\Common\Cache\Cache $cacheDriver * @param \Doctrine\Common\Cache\Cache $cacheDriver
*/ */
public function setCacheDriver($cacheDriver) public function setCacheDriver($cacheDriver)
{ {
@ -95,7 +95,7 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface
/** /**
* Gets the cache driver used by the factory to cache ClassMetadata instances. * Gets the cache driver used by the factory to cache ClassMetadata instances.
* *
* @return Doctrine\Common\Cache\Cache * @return \Doctrine\Common\Cache\Cache
*/ */
public function getCacheDriver() public function getCacheDriver()
{ {
@ -143,7 +143,7 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface
* Gets the class metadata descriptor for a class. * Gets the class metadata descriptor for a class.
* *
* @param string $className The name of the class. * @param string $className The name of the class.
* @return Doctrine\ORM\Mapping\ClassMetadata * @return \Doctrine\ORM\Mapping\ClassMetadata
*/ */
public function getMetadataFor($className) public function getMetadataFor($className)
{ {
@ -377,7 +377,7 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface
* Creates a new ClassMetadata instance for the given class name. * Creates a new ClassMetadata instance for the given class name.
* *
* @param string $className * @param string $className
* @return Doctrine\ORM\Mapping\ClassMetadata * @return \Doctrine\ORM\Mapping\ClassMetadata
*/ */
protected function newClassMetadataInstance($className) protected function newClassMetadataInstance($className)
{ {
@ -387,8 +387,8 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface
/** /**
* Adds inherited fields to the subclass mapping. * Adds inherited fields to the subclass mapping.
* *
* @param Doctrine\ORM\Mapping\ClassMetadata $subClass * @param \Doctrine\ORM\Mapping\ClassMetadata $subClass
* @param Doctrine\ORM\Mapping\ClassMetadata $parentClass * @param \Doctrine\ORM\Mapping\ClassMetadata $parentClass
*/ */
private function addInheritedFields(ClassMetadata $subClass, ClassMetadata $parentClass) private function addInheritedFields(ClassMetadata $subClass, ClassMetadata $parentClass)
{ {
@ -409,8 +409,8 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface
/** /**
* Adds inherited association mappings to the subclass mapping. * Adds inherited association mappings to the subclass mapping.
* *
* @param Doctrine\ORM\Mapping\ClassMetadata $subClass * @param \Doctrine\ORM\Mapping\ClassMetadata $subClass
* @param Doctrine\ORM\Mapping\ClassMetadata $parentClass * @param \Doctrine\ORM\Mapping\ClassMetadata $parentClass
*/ */
private function addInheritedRelations(ClassMetadata $subClass, ClassMetadata $parentClass) private function addInheritedRelations(ClassMetadata $subClass, ClassMetadata $parentClass)
{ {
@ -456,7 +456,7 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface
* Completes the ID generator mapping. If "auto" is specified we choose the generator * Completes the ID generator mapping. If "auto" is specified we choose the generator
* most appropriate for the targeted database platform. * most appropriate for the targeted database platform.
* *
* @param Doctrine\ORM\Mapping\ClassMetadata $class * @param \Doctrine\ORM\Mapping\ClassMetadata $class
*/ */
private function completeIdGeneratorMapping(ClassMetadataInfo $class) private function completeIdGeneratorMapping(ClassMetadataInfo $class)
{ {

View File

@ -1250,7 +1250,7 @@ class ClassMetadataInfo implements ClassMetadata
* Gets the type of a field. * Gets the type of a field.
* *
* @param string $fieldName * @param string $fieldName
* @return Doctrine\DBAL\Types\Type * @return \Doctrine\DBAL\Types\Type
*/ */
public function getTypeOfField($fieldName) public function getTypeOfField($fieldName)
{ {
@ -1261,7 +1261,7 @@ class ClassMetadataInfo implements ClassMetadata
/** /**
* Gets the type of a column. * Gets the type of a column.
* *
* @return Doctrine\DBAL\Types\Type * @return \Doctrine\DBAL\Types\Type
*/ */
public function getTypeOfColumn($columnName) public function getTypeOfColumn($columnName)
{ {

View File

@ -67,7 +67,7 @@ final class PersistentCollection implements Collection
/** /**
* The EntityManager that manages the persistence of the collection. * The EntityManager that manages the persistence of the collection.
* *
* @var Doctrine\ORM\EntityManager * @var \Doctrine\ORM\EntityManager
*/ */
private $em; private $em;
@ -284,7 +284,7 @@ final class PersistentCollection implements Collection
/** /**
* INTERNAL: Gets the association mapping of the collection. * INTERNAL: Gets the association mapping of the collection.
* *
* @return Doctrine\ORM\Mapping\AssociationMapping * @return \Doctrine\ORM\Mapping\AssociationMapping
*/ */
public function getMapping() public function getMapping()
{ {

View File

@ -36,19 +36,19 @@ abstract class AbstractCollectionPersister
protected $_em; protected $_em;
/** /**
* @var Doctrine\DBAL\Connection * @var \Doctrine\DBAL\Connection
*/ */
protected $_conn; protected $_conn;
/** /**
* @var Doctrine\ORM\UnitOfWork * @var \Doctrine\ORM\UnitOfWork
*/ */
protected $_uow; protected $_uow;
/** /**
* Initializes a new instance of a class derived from AbstractCollectionPersister. * Initializes a new instance of a class derived from AbstractCollectionPersister.
* *
* @param Doctrine\ORM\EntityManager $em * @param \Doctrine\ORM\EntityManager $em
*/ */
public function __construct(EntityManager $em) public function __construct(EntityManager $em)
{ {

View File

@ -79,28 +79,28 @@ class BasicEntityPersister
/** /**
* Metadata object that describes the mapping of the mapped entity class. * Metadata object that describes the mapping of the mapped entity class.
* *
* @var Doctrine\ORM\Mapping\ClassMetadata * @var \Doctrine\ORM\Mapping\ClassMetadata
*/ */
protected $_class; protected $_class;
/** /**
* The underlying DBAL Connection of the used EntityManager. * The underlying DBAL Connection of the used EntityManager.
* *
* @var Doctrine\DBAL\Connection $conn * @var \Doctrine\DBAL\Connection $conn
*/ */
protected $_conn; protected $_conn;
/** /**
* The database platform. * The database platform.
* *
* @var Doctrine\DBAL\Platforms\AbstractPlatform * @var \Doctrine\DBAL\Platforms\AbstractPlatform
*/ */
protected $_platform; protected $_platform;
/** /**
* The EntityManager instance. * The EntityManager instance.
* *
* @var Doctrine\ORM\EntityManager * @var \Doctrine\ORM\EntityManager
*/ */
protected $_em; protected $_em;
@ -172,8 +172,8 @@ class BasicEntityPersister
* Initializes a new <tt>BasicEntityPersister</tt> that uses the given EntityManager * Initializes a new <tt>BasicEntityPersister</tt> that uses the given EntityManager
* and persists instances of the class described by the given ClassMetadata descriptor. * and persists instances of the class described by the given ClassMetadata descriptor.
* *
* @param Doctrine\ORM\EntityManager $em * @param \Doctrine\ORM\EntityManager $em
* @param Doctrine\ORM\Mapping\ClassMetadata $class * @param \Doctrine\ORM\Mapping\ClassMetadata $class
*/ */
public function __construct(EntityManager $em, ClassMetadata $class) public function __construct(EntityManager $em, ClassMetadata $class)
{ {
@ -184,7 +184,7 @@ class BasicEntityPersister
} }
/** /**
* @return Doctrine\ORM\Mapping\ClassMetadata * @return \Doctrine\ORM\Mapping\ClassMetadata
*/ */
public function getClassMetadata() public function getClassMetadata()
{ {
@ -272,7 +272,7 @@ class BasicEntityPersister
/** /**
* Fetch the current version value of a versioned entity. * Fetch the current version value of a versioned entity.
* *
* @param Doctrine\ORM\Mapping\ClassMetadata $versionedClass * @param \Doctrine\ORM\Mapping\ClassMetadata $versionedClass
* @param mixed $id * @param mixed $id
* @return mixed * @return mixed
*/ */
@ -750,7 +750,7 @@ class BasicEntityPersister
* Load an array of entities from a given dbal statement. * Load an array of entities from a given dbal statement.
* *
* @param array $assoc * @param array $assoc
* @param Doctrine\DBAL\Statement $stmt * @param \Doctrine\DBAL\Statement $stmt
* *
* @return array * @return array
*/ */
@ -774,7 +774,7 @@ class BasicEntityPersister
* Hydrate a collection from a given dbal statement. * Hydrate a collection from a given dbal statement.
* *
* @param array $assoc * @param array $assoc
* @param Doctrine\DBAL\Statement $stmt * @param \Doctrine\DBAL\Statement $stmt
* @param PersistentCollection $coll * @param PersistentCollection $coll
* *
* @return array * @return array
@ -1368,7 +1368,7 @@ class BasicEntityPersister
* @param object $sourceEntity * @param object $sourceEntity
* @param int|null $offset * @param int|null $offset
* @param int|null $limit * @param int|null $limit
* @return Doctrine\DBAL\Statement * @return \Doctrine\DBAL\Statement
*/ */
private function getOneToManyStatement(array $assoc, $sourceEntity, $offset = null, $limit = null) private function getOneToManyStatement(array $assoc, $sourceEntity, $offset = null, $limit = null)
{ {

View File

@ -67,7 +67,7 @@ class JoinedSubclassPersister extends AbstractEntityInheritancePersister
* This function finds the ClassMetadata instance in an inheritance hierarchy * This function finds the ClassMetadata instance in an inheritance hierarchy
* that is responsible for enabling versioning. * that is responsible for enabling versioning.
* *
* @return Doctrine\ORM\Mapping\ClassMetadata * @return \Doctrine\ORM\Mapping\ClassMetadata
*/ */
private function _getVersionedClassMetadata() private function _getVersionedClassMetadata()
{ {

View File

@ -81,7 +81,7 @@ final class Query extends AbstractQuery
const HINT_INCLUDE_META_COLUMNS = 'doctrine.includeMetaColumns'; const HINT_INCLUDE_META_COLUMNS = 'doctrine.includeMetaColumns';
/** /**
* An array of class names that implement Doctrine\ORM\Query\TreeWalker and * An array of class names that implement \Doctrine\ORM\Query\TreeWalker and
* are iterated and executed after the DQL has been parsed into an AST. * are iterated and executed after the DQL has been parsed into an AST.
* *
* @var string * @var string
@ -89,7 +89,7 @@ final class Query extends AbstractQuery
const HINT_CUSTOM_TREE_WALKERS = 'doctrine.customTreeWalkers'; const HINT_CUSTOM_TREE_WALKERS = 'doctrine.customTreeWalkers';
/** /**
* A string with a class name that implements Doctrine\ORM\Query\TreeWalker * A string with a class name that implements \Doctrine\ORM\Query\TreeWalker
* and is used for generating the target SQL from any DQL AST tree. * and is used for generating the target SQL from any DQL AST tree.
* *
* @var string * @var string
@ -119,7 +119,7 @@ final class Query extends AbstractQuery
private $_dql = null; private $_dql = null;
/** /**
* @var Doctrine\ORM\Query\ParserResult The parser result that holds DQL => SQL information. * @var \Doctrine\ORM\Query\ParserResult The parser result that holds DQL => SQL information.
*/ */
private $_parserResult; private $_parserResult;
@ -158,7 +158,7 @@ final class Query extends AbstractQuery
/** /**
* Initializes a new Query instance. * Initializes a new Query instance.
* *
* @param Doctrine\ORM\EntityManager $entityManager * @param \Doctrine\ORM\EntityManager $entityManager
*/ */
/*public function __construct(EntityManager $entityManager) /*public function __construct(EntityManager $entityManager)
{ {
@ -179,9 +179,9 @@ final class Query extends AbstractQuery
/** /**
* Returns the corresponding AST for this DQL query. * Returns the corresponding AST for this DQL query.
* *
* @return Doctrine\ORM\Query\AST\SelectStatement | * @return \Doctrine\ORM\Query\AST\SelectStatement |
* Doctrine\ORM\Query\AST\UpdateStatement | * \Doctrine\ORM\Query\AST\UpdateStatement |
* Doctrine\ORM\Query\AST\DeleteStatement * \Doctrine\ORM\Query\AST\DeleteStatement
*/ */
public function getAST() public function getAST()
{ {
@ -194,7 +194,7 @@ final class Query extends AbstractQuery
* *
* Note: Populates $this->_parserResult as a side-effect. * Note: Populates $this->_parserResult as a side-effect.
* *
* @return Doctrine\ORM\Query\ParserResult * @return \Doctrine\ORM\Query\ParserResult
*/ */
private function _parse() private function _parse()
{ {
@ -441,7 +441,7 @@ final class Query extends AbstractQuery
* Sets a DQL query string. * Sets a DQL query string.
* *
* @param string $dqlQuery DQL Query * @param string $dqlQuery DQL Query
* @return Doctrine\ORM\AbstractQuery * @return \Doctrine\ORM\AbstractQuery
*/ */
public function setDQL($dqlQuery) public function setDQL($dqlQuery)
{ {
@ -577,7 +577,7 @@ final class Query extends AbstractQuery
/** /**
* Set the lock mode for this Query. * Set the lock mode for this Query.
* *
* @see Doctrine\DBAL\LockMode * @see \Doctrine\DBAL\LockMode
* @param int $lockMode * @param int $lockMode
* @return Query * @return Query
*/ */
@ -639,4 +639,4 @@ final class Query extends AbstractQuery
$this->_state = self::STATE_DIRTY; $this->_state = self::STATE_DIRTY;
} }
} }

View File

@ -61,10 +61,10 @@ abstract class AbstractSqlExecutor
/** /**
* Executes all sql statements. * Executes all sql statements.
* *
* @param Doctrine\DBAL\Connection $conn The database connection that is used to execute the queries. * @param \Doctrine\DBAL\Connection $conn The database connection that is used to execute the queries.
* @param array $params The parameters. * @param array $params The parameters.
* @param array $types The parameter types. * @param array $types The parameter types.
* @return Doctrine\DBAL\Driver\Statement * @return \Doctrine\DBAL\Driver\Statement
*/ */
abstract public function execute(Connection $conn, array $params, array $types); abstract public function execute(Connection $conn, array $params, array $types);
} }

View File

@ -37,8 +37,8 @@ class ParameterTypeInferer
{ {
/** /**
* Infer type of a given value, returning a compatible constant: * Infer type of a given value, returning a compatible constant:
* - Type (Doctrine\DBAL\Types\Type::*) * - Type (\Doctrine\DBAL\Types\Type::*)
* - Connection (Doctrine\DBAL\Connection::PARAM_*) * - Connection (\Doctrine\DBAL\Connection::PARAM_*)
* *
* @param mixed $value Parameter value * @param mixed $value Parameter value
* *

View File

@ -76,14 +76,14 @@ class Parser
/** /**
* The lexer. * The lexer.
* *
* @var Doctrine\ORM\Query\Lexer * @var \Doctrine\ORM\Query\Lexer
*/ */
private $_lexer; private $_lexer;
/** /**
* The parser result. * The parser result.
* *
* @var Doctrine\ORM\Query\ParserResult * @var \Doctrine\ORM\Query\ParserResult
*/ */
private $_parserResult; private $_parserResult;
@ -171,7 +171,7 @@ class Parser
/** /**
* Gets the lexer used by the parser. * Gets the lexer used by the parser.
* *
* @return Doctrine\ORM\Query\Lexer * @return \Doctrine\ORM\Query\Lexer
*/ */
public function getLexer() public function getLexer()
{ {
@ -181,7 +181,7 @@ class Parser
/** /**
* Gets the ParserResult that is being filled with information during parsing. * Gets the ParserResult that is being filled with information during parsing.
* *
* @return Doctrine\ORM\Query\ParserResult * @return \Doctrine\ORM\Query\ParserResult
*/ */
public function getParserResult() public function getParserResult()
{ {
@ -1457,7 +1457,7 @@ class Parser
/** /**
* RangeVariableDeclaration ::= AbstractSchemaName ["AS"] AliasIdentificationVariable * RangeVariableDeclaration ::= AbstractSchemaName ["AS"] AliasIdentificationVariable
* *
* @return Doctrine\ORM\Query\AST\RangeVariableDeclaration * @return \Doctrine\ORM\Query\AST\RangeVariableDeclaration
*/ */
public function RangeVariableDeclaration() public function RangeVariableDeclaration()
{ {
@ -1531,7 +1531,7 @@ class Parser
* Join ::= ["LEFT" ["OUTER"] | "INNER"] "JOIN" JoinAssociationPathExpression * Join ::= ["LEFT" ["OUTER"] | "INNER"] "JOIN" JoinAssociationPathExpression
* ["AS"] AliasIdentificationVariable ["WITH" ConditionalExpression] * ["AS"] AliasIdentificationVariable ["WITH" ConditionalExpression]
* *
* @return Doctrine\ORM\Query\AST\Join * @return \Doctrine\ORM\Query\AST\Join
*/ */
public function Join() public function Join()
{ {
@ -1611,7 +1611,7 @@ class Parser
/** /**
* IndexBy ::= "INDEX" "BY" StateFieldPathExpression * IndexBy ::= "INDEX" "BY" StateFieldPathExpression
* *
* @return Doctrine\ORM\Query\AST\IndexBy * @return \Doctrine\ORM\Query\AST\IndexBy
*/ */
public function IndexBy() public function IndexBy()
{ {
@ -1737,7 +1737,7 @@ class Parser
/** /**
* CoalesceExpression ::= "COALESCE" "(" ScalarExpression {"," ScalarExpression}* ")" * CoalesceExpression ::= "COALESCE" "(" ScalarExpression {"," ScalarExpression}* ")"
* *
* @return Doctrine\ORM\Query\AST\CoalesceExpression * @return \Doctrine\ORM\Query\AST\CoalesceExpression
*/ */
public function CoalesceExpression() public function CoalesceExpression()
{ {
@ -1762,7 +1762,7 @@ class Parser
/** /**
* NullIfExpression ::= "NULLIF" "(" ScalarExpression "," ScalarExpression ")" * NullIfExpression ::= "NULLIF" "(" ScalarExpression "," ScalarExpression ")"
* *
* @return Doctrine\ORM\Query\AST\NullIfExpression * @return \Doctrine\ORM\Query\AST\NullIfExpression
*/ */
public function NullIfExpression() public function NullIfExpression()
{ {
@ -1858,7 +1858,7 @@ class Parser
* PartialObjectExpression | "(" Subselect ")" | CaseExpression * PartialObjectExpression | "(" Subselect ")" | CaseExpression
* ) [["AS"] ["HIDDEN"] AliasResultVariable] * ) [["AS"] ["HIDDEN"] AliasResultVariable]
* *
* @return Doctrine\ORM\Query\AST\SelectExpression * @return \Doctrine\ORM\Query\AST\SelectExpression
*/ */
public function SelectExpression() public function SelectExpression()
{ {
@ -2133,7 +2133,7 @@ class Parser
/** /**
* ConditionalPrimary ::= SimpleConditionalExpression | "(" ConditionalExpression ")" * ConditionalPrimary ::= SimpleConditionalExpression | "(" ConditionalExpression ")"
* *
* @return Doctrine\ORM\Query\AST\ConditionalPrimary * @return \Doctrine\ORM\Query\AST\ConditionalPrimary
*/ */
public function ConditionalPrimary() public function ConditionalPrimary()
{ {

View File

@ -94,7 +94,7 @@ class QueryException extends \Doctrine\ORM\ORMException
} }
/** /**
* @param Doctrine\ORM\Mapping\AssociationMapping $assoc * @param \Doctrine\ORM\Mapping\AssociationMapping $assoc
*/ */
public static function iterateWithFetchJoinCollectionNotAllowed($assoc) public static function iterateWithFetchJoinCollectionNotAllowed($assoc)
{ {

View File

@ -60,7 +60,7 @@ class SqlWalker implements TreeWalker
private $_em; private $_em;
/** /**
* @var Doctrine\DBAL\Connection * @var \Doctrine\DBAL\Connection
*/ */
private $_conn; private $_conn;

View File

@ -55,7 +55,7 @@ abstract class TreeWalkerAdapter implements TreeWalker
/** /**
* Retrieve Query Instance reponsible for the current walkers execution. * Retrieve Query Instance reponsible for the current walkers execution.
* *
* @return Doctrine\ORM\Query * @return \Doctrine\ORM\Query
*/ */
protected function _getQuery() protected function _getQuery()
{ {
@ -65,7 +65,7 @@ abstract class TreeWalkerAdapter implements TreeWalker
/** /**
* Retrieve ParserResult * Retrieve ParserResult
* *
* @return Doctrine\ORM\Query\ParserResult * @return \Doctrine\ORM\Query\ParserResult
*/ */
protected function _getParserResult() protected function _getParserResult()
{ {

View File

@ -50,7 +50,7 @@ EOT
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output)
{ {
/* @var $entityManager Doctrine\ORM\EntityManager */ /* @var $entityManager \Doctrine\ORM\EntityManager */
$entityManager = $this->getHelper('em')->getEntityManager(); $entityManager = $this->getHelper('em')->getEntityManager();
$entityClassNames = $entityManager->getConfiguration() $entityClassNames = $entityManager->getConfiguration()

View File

@ -27,7 +27,7 @@ use Doctrine\ORM\Tools\Export\ExportException;
/** /**
* Abstract base class which is to be used for the Exporter drivers * Abstract base class which is to be used for the Exporter drivers
* which can be found in Doctrine\ORM\Tools\Export\Driver * which can be found in \Doctrine\ORM\Tools\Export\Driver
* *
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.doctrine-project.org * @link www.doctrine-project.org

View File

@ -56,7 +56,7 @@ class SchemaTool
* Initializes a new SchemaTool instance that uses the connection of the * Initializes a new SchemaTool instance that uses the connection of the
* provided EntityManager. * provided EntityManager.
* *
* @param Doctrine\ORM\EntityManager $em * @param \Doctrine\ORM\EntityManager $em
*/ */
public function __construct(EntityManager $em) public function __construct(EntityManager $em)
{ {
@ -180,7 +180,7 @@ class SchemaTool
$this->addDiscriminatorColumnDefinition($class, $table); $this->addDiscriminatorColumnDefinition($class, $table);
} else { } else {
// Add an ID FK column to child tables // Add an ID FK column to child tables
/* @var Doctrine\ORM\Mapping\ClassMetadata $class */ /* @var \Doctrine\ORM\Mapping\ClassMetadata $class */
$idMapping = $class->fieldMappings[$class->identifier[0]]; $idMapping = $class->fieldMappings[$class->identifier[0]];
$this->_gatherColumn($class, $idMapping, $table); $this->_gatherColumn($class, $idMapping, $table);
$columnName = $class->getQuotedColumnName($class->identifier[0], $this->_platform); $columnName = $class->getQuotedColumnName($class->identifier[0], $this->_platform);

View File

@ -177,7 +177,7 @@ class UnitOfWork implements PropertyChangedListener
/** /**
* The EntityManager that "owns" this UnitOfWork instance. * The EntityManager that "owns" this UnitOfWork instance.
* *
* @var Doctrine\ORM\EntityManager * @var \Doctrine\ORM\EntityManager
*/ */
private $em; private $em;
@ -185,7 +185,7 @@ class UnitOfWork implements PropertyChangedListener
* The calculator used to calculate the order in which changes to * The calculator used to calculate the order in which changes to
* entities need to be written to the database. * entities need to be written to the database.
* *
* @var Doctrine\ORM\Internal\CommitOrderCalculator * @var \Doctrine\ORM\Internal\CommitOrderCalculator
*/ */
private $commitOrderCalculator; private $commitOrderCalculator;
@ -234,7 +234,7 @@ class UnitOfWork implements PropertyChangedListener
/** /**
* Initializes a new UnitOfWork instance, bound to the given EntityManager. * Initializes a new UnitOfWork instance, bound to the given EntityManager.
* *
* @param Doctrine\ORM\EntityManager $em * @param \Doctrine\ORM\EntityManager $em
*/ */
public function __construct(EntityManager $em) public function __construct(EntityManager $em)
{ {
@ -842,7 +842,7 @@ class UnitOfWork implements PropertyChangedListener
/** /**
* Executes all entity insertions for entities of the specified type. * Executes all entity insertions for entities of the specified type.
* *
* @param Doctrine\ORM\Mapping\ClassMetadata $class * @param \Doctrine\ORM\Mapping\ClassMetadata $class
*/ */
private function executeInserts($class) private function executeInserts($class)
{ {
@ -899,7 +899,7 @@ class UnitOfWork implements PropertyChangedListener
/** /**
* Executes all entity updates for entities of the specified type. * Executes all entity updates for entities of the specified type.
* *
* @param Doctrine\ORM\Mapping\ClassMetadata $class * @param \Doctrine\ORM\Mapping\ClassMetadata $class
*/ */
private function executeUpdates($class) private function executeUpdates($class)
{ {
@ -949,7 +949,7 @@ class UnitOfWork implements PropertyChangedListener
/** /**
* Executes all entity deletions for entities of the specified type. * Executes all entity deletions for entities of the specified type.
* *
* @param Doctrine\ORM\Mapping\ClassMetadata $class * @param \Doctrine\ORM\Mapping\ClassMetadata $class
*/ */
private function executeDeletions($class) private function executeDeletions($class)
{ {
@ -2140,7 +2140,7 @@ class UnitOfWork implements PropertyChangedListener
/** /**
* Gets the CommitOrderCalculator used by the UnitOfWork to order commits. * Gets the CommitOrderCalculator used by the UnitOfWork to order commits.
* *
* @return Doctrine\ORM\Internal\CommitOrderCalculator * @return \Doctrine\ORM\Internal\CommitOrderCalculator
*/ */
public function getCommitOrderCalculator() public function getCommitOrderCalculator()
{ {
@ -2652,7 +2652,7 @@ class UnitOfWork implements PropertyChangedListener
* *
* @param string $entityName The name of the Entity. * @param string $entityName The name of the Entity.
* *
* @return Doctrine\ORM\Persisters\BasicEntityPersister * @return \Doctrine\ORM\Persisters\BasicEntityPersister
*/ */
public function getEntityPersister($entityName) public function getEntityPersister($entityName)
{ {