ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
UserAction.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\LegalDocuments;
22 
26 use ilObjUser;
27 
29 {
30  public function __construct(private readonly ilObjUser $user, private readonly Clock $clock)
31  {
32  }
33 
34  public function modifiedNow(): Edit
35  {
36  return new Edit($this->user->getId(), $this->clock->now());
37  }
38 }
__construct(private readonly ilObjUser $user, private readonly Clock $clock)
Definition: UserAction.php:30