ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
UserEvent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\User;
22 
24 
25 class UserEvent
26 {
27  public function __construct(
28  protected InternalDomainService $domain
29  ) {
30 
31  }
32 
33  public function handleDeletion(int $user_id): void
34  {
35  $p = $this->domain->participants();
36  $p->removeFromAll($user_id);
37  }
38 }
__construct(protected InternalDomainService $domain)
Definition: UserEvent.php:27
Author: Alexander Killing killing@leifos.de
handleDeletion(int $user_id)
Definition: UserEvent.php:33