#1001 DDC-3005 - Minor CS fixes in HydrationCompleteHandler
This commit is contained in:
parent
89530f88f7
commit
7b81cfb6ea
@ -36,20 +36,26 @@ use Doctrine\ORM\Events;
|
|||||||
*/
|
*/
|
||||||
final class HydrationCompleteHandler
|
final class HydrationCompleteHandler
|
||||||
{
|
{
|
||||||
/** @var \Doctrine\ORM\Event\ListenersInvoker */
|
/**
|
||||||
|
* @var ListenersInvoker
|
||||||
|
*/
|
||||||
private $listenersInvoker;
|
private $listenersInvoker;
|
||||||
|
|
||||||
/** @var \Doctrine\ORM\EntityManagerInterface */
|
/**
|
||||||
|
* @var EntityManagerInterface
|
||||||
|
*/
|
||||||
private $em;
|
private $em;
|
||||||
|
|
||||||
/** @var array */
|
/**
|
||||||
|
* @var array[]
|
||||||
|
*/
|
||||||
private $deferredPostLoadInvocations = array();
|
private $deferredPostLoadInvocations = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor for this object
|
* Constructor for this object
|
||||||
*
|
*
|
||||||
* @param \Doctrine\ORM\Event\ListenersInvoker $listenersInvoker
|
* @param ListenersInvoker $listenersInvoker
|
||||||
* @param \Doctrine\ORM\EntityManagerInterface $em
|
* @param EntityManagerInterface $em
|
||||||
*/
|
*/
|
||||||
public function __construct(ListenersInvoker $listenersInvoker, EntityManagerInterface $em)
|
public function __construct(ListenersInvoker $listenersInvoker, EntityManagerInterface $em)
|
||||||
{
|
{
|
||||||
@ -61,7 +67,7 @@ final class HydrationCompleteHandler
|
|||||||
* Method schedules invoking of postLoad entity to the very end of current hydration cycle.
|
* Method schedules invoking of postLoad entity to the very end of current hydration cycle.
|
||||||
*
|
*
|
||||||
* @param ClassMetadata $class
|
* @param ClassMetadata $class
|
||||||
* @param object $entity
|
* @param object $entity
|
||||||
*/
|
*/
|
||||||
public function deferPostLoadInvoking(ClassMetadata $class, $entity)
|
public function deferPostLoadInvoking(ClassMetadata $class, $entity)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user