1
0
mirror of synced 2024-12-14 23:26:04 +03:00

Fix phpdocs

This commit is contained in:
Adel 2012-07-11 22:44:07 +00:00
parent 113c6f51c2
commit 51cd553de8

View File

@ -162,7 +162,7 @@ class ObjectHydrator extends AbstractHydrator
* *
* @param object $entity The entity to which the collection belongs. * @param object $entity The entity to which the collection belongs.
* @param ClassMetadata $class * @param ClassMetadata $class
* @param string $name The name of the field on the entity that holds the collection. * @param string $fieldName The name of the field on the entity that holds the collection.
* @param string $parentDqlAlias Alias of the parent fetch joining this collection. * @param string $parentDqlAlias Alias of the parent fetch joining this collection.
*/ */
private function _initRelatedCollection($entity, $class, $fieldName, $parentDqlAlias) private function _initRelatedCollection($entity, $class, $fieldName, $parentDqlAlias)
@ -245,6 +245,11 @@ class ObjectHydrator extends AbstractHydrator
return $this->_uow->createEntity($className, $data, $this->_hints); return $this->_uow->createEntity($className, $data, $this->_hints);
} }
/**
* @param string $className
* @param array $data
* @return mixed
*/
private function _getEntityFromIdentityMap($className, array $data) private function _getEntityFromIdentityMap($className, array $data)
{ {
// TODO: Abstract this code and UnitOfWork::createEntity() equivalent? // TODO: Abstract this code and UnitOfWork::createEntity() equivalent?
@ -302,7 +307,7 @@ class ObjectHydrator extends AbstractHydrator
* level of the hydrated result. A typical example are the objects of the type * level of the hydrated result. A typical example are the objects of the type
* specified by the FROM clause in a DQL query. * specified by the FROM clause in a DQL query.
* *
* @param array $data The data of the row to process. * @param array $row The data of the row to process.
* @param array $cache The cache to use. * @param array $cache The cache to use.
* @param array $result The result array to fill. * @param array $result The result array to fill.
*/ */