/** * 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; }
/** * TestEvent constructor. */ public function __construct() { parent::__construct('test'); }
public function __construct() { parent::__construct('foo.event'); }
/** * Sets the event name */ public function __construct() { parent::__construct(Events::TAKE_PAYMENT_SUCCESS); }
public function __construct() { parent::__construct(Engine::APP_EXECUTE_EVENT); }
public function __construct($name) { parent::__construct($name); $this->parameters = new \hass\base\classes\Parameters(); }
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; }
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; }
/** * @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; }
public function __construct() { parent::__construct(get_called_class()); }
/** * @param Environment $environment */ public function __construct() { parent::__construct(Engine::ENGINE_BOOTUP_EVENT); }
/** * @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; }