123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- declare(strict_types=1);
- namespace OCP\User\Events;
- use OCP\EventDispatcher\Event;
- class BeforeUserLoggedInWithCookieEvent extends Event {
-
- private $username;
-
- public function __construct(string $username) {
- parent::__construct();
- $this->username = $username;
- }
-
- public function getUsername(): string {
- return $this->username;
- }
- }
|