/**
  * Initializes the event.
  *
  * @param string $name Name of the event
  * @param string $username Username sent via the login form
  * @param string $password Password sent via the login form
  */
 public function __construct(string $name, string $username, string $password)
 {
     parent::__construct($name);
     $this->username = $username;
     $this->password = $password;
 }
Exemple #2
0
 public function __construct(string $additionalInformation)
 {
     parent::__construct(self::EVENT_NAME);
     $this->additionalInformation = $additionalInformation;
 }