public function onFirewallLogin(OnFirewallAuthenticationEvent $event)
    {
        $this->doModify($event);

        $this->om->persist($event->getUser());
        $this->om->flush();
    }
public function onFirewallLogin(OnFirewallAuthenticationEvent $event)
    {
        $this->doModify($event);

        $this->om->persist($event->getUser());
        $this->om->flush();
    }
public function onFirewallLogin ( OnFirewallAuthenticationEvent $ event ) { $ this -> doModify ( $ event ) ; $ this -> om -> persist ( $ event -> getUser ( ) ) ; $ this -> om -> flush ( ) ; }
Modifies the last action property on firewall authentication.

@param OnFirewallAuthenticationEvent $event
Modifies the last action property on firewall authentication .