for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yokai\SecurityTokenBundle\Event;
use Symfony\Component\EventDispatcher\Event;
use Yokai\SecurityTokenBundle\Entity\Token;
/**
* @author Yann Eugoné <[email protected]>
*/
class TokenCreatedEvent extends Event
{
* @var Token
private $token;
* @param Token $token
public function __construct(Token $token)
$this->token = $token;
}
* @return Token
public function getToken()
return $this->token;