commit
4ae7851a04
@ -605,7 +605,7 @@ abstract class AbstractQuery
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the result cache id to use to store the result set cache entry.
|
* Set the result cache id to use to store the result set cache entry.
|
||||||
* If this is not explicitely set by the developer then a hash is automatically
|
* If this is not explicitly set by the developer then a hash is automatically
|
||||||
* generated for you.
|
* generated for you.
|
||||||
*
|
*
|
||||||
* @param string $id
|
* @param string $id
|
||||||
|
@ -36,22 +36,22 @@ use PDO,
|
|||||||
*/
|
*/
|
||||||
abstract class AbstractHydrator
|
abstract class AbstractHydrator
|
||||||
{
|
{
|
||||||
/** @var ResultSetMapping The ResultSetMapping. */
|
/** @var \Doctrine\ORM\Query\ResultSetMapping The ResultSetMapping. */
|
||||||
protected $_rsm;
|
protected $_rsm;
|
||||||
|
|
||||||
/** @var EntityManager The EntityManager instance. */
|
/** @var EntityManager The EntityManager instance. */
|
||||||
protected $_em;
|
protected $_em;
|
||||||
|
|
||||||
/** @var AbstractPlatform The dbms Platform instance */
|
/** @var \Doctrine\DBAL\Platforms\AbstractPlatform The dbms Platform instance */
|
||||||
protected $_platform;
|
protected $_platform;
|
||||||
|
|
||||||
/** @var UnitOfWork The UnitOfWork of the associated EntityManager. */
|
/** @var \Doctrine\ORM\UnitOfWork The UnitOfWork of the associated EntityManager. */
|
||||||
protected $_uow;
|
protected $_uow;
|
||||||
|
|
||||||
/** @var array The cache used during row-by-row hydration. */
|
/** @var array The cache used during row-by-row hydration. */
|
||||||
protected $_cache = array();
|
protected $_cache = array();
|
||||||
|
|
||||||
/** @var Statement The statement that provides the data to hydrate. */
|
/** @var \Doctrine\DBAL\Driver\Statement The statement that provides the data to hydrate. */
|
||||||
protected $_stmt;
|
protected $_stmt;
|
||||||
|
|
||||||
/** @var array The query hints. */
|
/** @var array The query hints. */
|
||||||
@ -93,6 +93,7 @@ abstract class AbstractHydrator
|
|||||||
*
|
*
|
||||||
* @param object $stmt
|
* @param object $stmt
|
||||||
* @param object $resultSetMapping
|
* @param object $resultSetMapping
|
||||||
|
* @param array $hints
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function hydrateAll($stmt, $resultSetMapping, array $hints = array())
|
public function hydrateAll($stmt, $resultSetMapping, array $hints = array())
|
||||||
|
@ -208,8 +208,8 @@ class ObjectHydrator extends AbstractHydrator
|
|||||||
/**
|
/**
|
||||||
* Gets an entity instance.
|
* Gets an entity instance.
|
||||||
*
|
*
|
||||||
* @param $data The instance data.
|
* @param array $data The instance data.
|
||||||
* @param $dqlAlias The DQL alias of the entity's class.
|
* @param string $dqlAlias The DQL alias of the entity's class.
|
||||||
* @return object The entity.
|
* @return object The entity.
|
||||||
*/
|
*/
|
||||||
private function _getEntity(array $data, $dqlAlias)
|
private function _getEntity(array $data, $dqlAlias)
|
||||||
|
@ -422,7 +422,7 @@ class ClassMetadataInfo
|
|||||||
/**
|
/**
|
||||||
* READ-ONLY: The ID generator used for generating IDs for this class.
|
* READ-ONLY: The ID generator used for generating IDs for this class.
|
||||||
*
|
*
|
||||||
* @var AbstractIdGenerator
|
* @var \Doctrine\ORM\Id\AbstractIdGenerator
|
||||||
* @todo Remove!
|
* @todo Remove!
|
||||||
*/
|
*/
|
||||||
public $idGenerator;
|
public $idGenerator;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user