Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
www.humitest.fr
/
htdocs
/
vendor
/
friendsofsymfony
/
user-bundle
/
Event
/
/srv/data/web/vhosts/www.humitest.fr/htdocs/vendor/friendsofsymfony/user-bundle/Event/UserEvent.php
<?php /* * This file is part of the FOSUserBundle package. * * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FOS\UserBundle\Event; use FOS\UserBundle\Model\UserInterface; use Symfony\Component\EventDispatcher\Event; use Symfony\Component\HttpFoundation\Request; class UserEvent extends Event { /** * @var null|Request */ protected $request; /** * @var UserInterface */ protected $user; /** * UserEvent constructor. * * @param UserInterface $user * @param Request|null $request */ public function __construct(UserInterface $user, Request $request = null) { $this->user = $user; $this->request = $request; } /** * @return UserInterface */ public function getUser() { return $this->user; } /** * @return Request */ public function getRequest() { return $this->request; } }