vendor/friendsofsymfony/user-bundle/Event/GetResponseUserEvent.php line 16

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the FOSUserBundle package.
  4.  *
  5.  * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace FOS\UserBundle\Event;
  11. use Symfony\Component\HttpFoundation\Response;
  12. class GetResponseUserEvent extends UserEvent
  13. {
  14.     /**
  15.      * @var Response
  16.      */
  17.     private $response;
  18.     /**
  19.      * @param Response $response
  20.      */
  21.     public function setResponse(Response $response)
  22.     {
  23.         $this->response $response;
  24.     }
  25.     /**
  26.      * @return Response|null
  27.      */
  28.     public function getResponse()
  29.     {
  30.         return $this->response;
  31.     }
  32. }