ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
UserEvent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
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