ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
Setting.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LegalDocuments\ConsumerToolbox
;
22
23
use
Closure
;
24
28
class
Setting
29
{
34
public
function
__construct
(
35
private
readonly
Closure
$value,
36
private
readonly
Closure
$update
37
) {
38
}
39
43
public
function
value
()
44
{
45
return
($this->
value
)();
46
}
47
51
public
function
update
($value): void
52
{
53
($this->update)($value);
54
}
55
}
Closure
ILIAS\LegalDocuments\ConsumerToolbox\Setting\update
update($value)
Definition:
Setting.php:51
ILIAS\LegalDocuments\ConsumerToolbox\Setting\value
value()
Definition:
Setting.php:43
ILIAS\LegalDocuments\ConsumerToolbox\Setting\__construct
__construct(private readonly Closure $value, private readonly Closure $update)
Definition:
Setting.php:34
ILIAS\LegalDocuments\ConsumerToolbox
Definition:
Blocks.php:21
ILIAS\LegalDocuments\ConsumerToolbox\Setting
A
Definition:
Setting.php:28
components
ILIAS
LegalDocuments
classes
ConsumerToolbox
Setting.php
Generated on Sun Aug 31 2025 23:03:13 for ILIAS by
1.8.13 (using
Doxyfile
)