ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Handler.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\Poll\Image\I\Repository\Values\HandlerInterface as ilPollImageRepositoryValuesInterface;
24 
25 class Handler implements ilPollImageRepositoryValuesInterface
26 {
27  protected string $resource_id_serialized;
28 
29  public function withResourceIdSerialized(
30  string $resource_id_serialized
31  ): ilPollImageRepositoryValuesInterface {
32  $clone = clone $this;
33  $clone->resource_id_serialized = $resource_id_serialized;
34  return $clone;
35  }
36 
37  public function getResourceIdSerialized(): string
38  {
39  return $this->resource_id_serialized ?? "";
40  }
41 }
withResourceIdSerialized(string $resource_id_serialized)
Definition: Handler.php:29