ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
Handler.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Poll\Image\Repository\Key
;
22
23
use
ILIAS\Data\ObjectId
;
24
use
ILIAS\Poll\Image\I\Repository\Key\HandlerInterface
as ilPollImageRepositoryKeyInterface;
25
26
class
Handler
implements
ilPollImageRepositoryKeyInterface
27
{
28
protected
ObjectId
$object_id
;
29
30
public
function
withObjectId
(
31
ObjectId
$object_id
32
): ilPollImageRepositoryKeyInterface {
33
$clone = clone $this;
34
$clone->object_id =
$object_id
;
35
return
$clone;
36
}
37
38
public
function
getObjectId
():
ObjectId
39
{
40
return
$this->object_id
;
41
}
42
43
public
function
isValid
(): bool
44
{
45
return
isset($this->object_id);
46
}
47
}
ILIAS\Poll\Image\Repository\Key\Handler\isValid
isValid()
Definition:
Handler.php:43
Handler
ILIAS\Poll\Image\I\Repository\Key\HandlerInterface
Definition:
HandlerInterface.php:25
ILIAS\Poll\Image\Repository\Key\Handler\getObjectId
getObjectId()
Definition:
Handler.php:38
ILIAS\Data\ObjectId
Definition:
ObjectId.php:32
ILIAS\Poll\Image\Repository\Key\Handler\withObjectId
withObjectId(ObjectId $object_id)
Definition:
Handler.php:30
ILIAS\Poll\Image\Repository\Key
Definition:
Factory.php:21
ILIAS\Poll\Image\Repository\Key\Handler\$object_id
ObjectId $object_id
Definition:
Handler.php:28
ObjectId
components
ILIAS
Poll
classes
Image
Repository
Key
Handler.php
Generated on Wed Sep 3 2025 23:02:07 for ILIAS by
1.8.13 (using
Doxyfile
)