Created
March 30, 2017 08:20
-
-
Save rccc/c1c6dedb7881bd52d7e0d5e112513fd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace UserBundle\Event; | |
use Symfony\Component\EventDispatcher\Event; | |
use UserBundle\Entity\User; | |
class ExportEvent extends Event | |
{ | |
const USER_REGISTERED = 'user.registered'; | |
protected $usr; | |
public function __construct(User $user= null) | |
{ | |
$this->user = $user; | |
} | |
public function getUser() | |
{ | |
return $this->user; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment