/**
  * Constructor
  *
  * @param MiniGameId $gameId
  * @param PlayerId   $playerId
  * @param string     $message
  */
 public function __construct(MiniGameId $gameId, PlayerId $playerId, $message)
 {
     parent::__construct(static::NAME);
     $this->gameId = $gameId;
     $this->playerId = $playerId;
     $this->message = $message;
 }
 /**
  * Constructor
  *
  * @param ApplicationUserId $id
  * @param string            $username
  * @param string            $preferredLanguage
  */
 public function __construct(ApplicationUserId $id, $username, $preferredLanguage)
 {
     parent::__construct(self::NAME);
     $this->userId = $id;
     $this->username = $username;
     $this->preferredLanguage = $preferredLanguage;
 }
 /**
  * Constructor
  *
  * @param ApplicationUserId        $userId
  * @param UndefinedApplicationUser $user
  */
 public function __construct(ApplicationUserId $userId, UndefinedApplicationUser $user)
 {
     parent::__construct(self::NAME);
     $this->userId = $userId;
     $this->user = $user;
 }
Exemple #4
0
 /**
  * TestEvent constructor.
  */
 public function __construct()
 {
     parent::__construct('test');
 }
Exemple #5
0
 public function __construct()
 {
     parent::__construct('foo.event');
 }
 /**
  * Sets the event name
  */
 public function __construct()
 {
     parent::__construct(Events::TAKE_PAYMENT_SUCCESS);
 }
Exemple #7
0
 public function __construct()
 {
     parent::__construct(Engine::APP_EXECUTE_EVENT);
 }
Exemple #8
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->parameters = new \hass\base\classes\Parameters();
 }
Exemple #9
0
 public function __construct()
 {
     parent::__construct(Engine::APP_CLEANUP_EVENT);
 }
 /**
  * SerializableEvent constructor.
  *
  * @param string $name
  * @param array $payload
  */
 public function __construct($name, array $payload = [])
 {
     parent::__construct($name);
     $this->payload = $payload;
 }
Exemple #11
0
 public function __construct(ServerRequestInterface $request, string $name)
 {
     parent::__construct($name);
 }
 /**
  * RequestEvent constructor.
  *
  * @param string                 $name
  * @param ServerRequestInterface $request
  */
 public function __construct($name, ServerRequestInterface $request)
 {
     parent::__construct($name);
     $this->request = $request;
 }
Exemple #13
0
 /**
  * @param string $eventName
  * @param array $params
  */
 public function __construct($eventName, array $params = array())
 {
     parent::__construct($eventName);
     $this->params = $params;
 }
 /**
  * Constructor
  *
  * @param string     $name
  * @param MiniGameId $gameId
  * @param PlayerId   $playerId
  */
 public function __construct($name, MiniGameId $gameId, PlayerId $playerId = null)
 {
     parent::__construct($name);
     $this->gameId = $gameId;
     $this->playerId = $playerId;
 }
Exemple #15
0
 public function __construct()
 {
     parent::__construct(get_called_class());
 }
Exemple #16
0
 /**
  * @param Environment $environment
  */
 public function __construct()
 {
     parent::__construct(Engine::ENGINE_BOOTUP_EVENT);
 }
Exemple #17
0
 /**
  * @param Session $session
  * @param string $name
  */
 public function __construct(Session $session, $name = null)
 {
     parent::__construct($name);
     $this->session = $session;
 }
 /**
  * Sets the event name
  */
 public function __construct()
 {
     parent::__construct(Events::TAKE_PAYMENT_FAILURE);
 }
 /**
  * ThirdPartyAccountLinkedEvent constructor.
  *
  * @param ApplicationUserId $userId
  * @param Account           $thirdPartyAccount
  */
 public function __construct(ApplicationUserId $userId, Account $thirdPartyAccount)
 {
     parent::__construct(self::NAME);
     $this->userId = $userId;
     $this->thirdPartyAccount = $thirdPartyAccount;
 }
 /**
  * @param Exception $exception
  */
 public function __construct(Exception $exception)
 {
     parent::__construct(Engine::EXCEPTION_THROWN_EVENT);
     $this->exception = $exception;
 }