ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NotificationIdentification.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 {
28  public function __construct(private readonly string $type, private readonly string $key)
29  {
30  }
31 
32  public function getType(): string
33  {
34  return $this->type;
35  }
36 
37  public function __toString(): string
38  {
39  return $this->key;
40  }
41 }
__construct(private readonly string $type, private readonly string $key)