From: Marco Pivetta <ocram...@gmail.com>
Date: Mon, 8 Oct 2012 12:36:17 +0200
Local: Mon, Oct 8 2012 6:36 am
Subject: Re: [Symfony2] problem evet listener doctrine
You can use `$uow->scheduleForInsert($modificacion);` (
On 8 October 2012 12:30, joselito <paradit...@gmail.com> wrote:
> protected $container;
> public function __construct(ContainerInterface $container)
> public function onFlush(onFlushEventArgs $eventArgs)
> foreach ($uow->getScheduledEntityInsertions() AS $entity) {
> $modificacion->setEmpleado($securityContext->getToken()->getUser());
> --
> You received this message because you are subscribed to the Google
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||