ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
UserAction.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\LegalDocuments;
22 
25 use ilObjUser;
26 
28 {
29  public function __construct(private readonly ilObjUser $user, private readonly Clock $clock)
30  {
31  }
32 
33  public function modifiedNow(): Edit
34  {
35  return new Edit($this->user->getId(), $this->clock->now());
36  }
37 }
__construct(private readonly ilObjUser $user, private readonly Clock $clock)
Definition: UserAction.php:29