12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- declare(strict_types=1);
- namespace OCP\User\Events;
- use OCP\EventDispatcher\Event;
- use OCP\IUser;
- class UserLoggedOutEvent extends Event {
-
- private $user;
-
- public function __construct(?IUser $user = null) {
- parent::__construct();
- $this->user = $user;
- }
-
- public function getUser(): ?IUser {
- return $this->user;
- }
- }
|