ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ 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
ilSetting
;
24
use
Closure
;
25
29
class
Setting
30
{
35
public
function
__construct
(
36
private
readonly
Closure
$value,
37
private
readonly
Closure
$update
38
) {
39
}
40
44
public
function
value
()
45
{
46
return
($this->
value
)();
47
}
48
52
public
function
update
($value): void
53
{
54
($this->update)($value);
55
}
56
}
Closure
ILIAS\LegalDocuments\ConsumerToolbox\Setting\update
update($value)
Definition:
Setting.php:52
ILIAS\LegalDocuments\ConsumerToolbox\Setting\value
value()
Definition:
Setting.php:44
ILIAS\LegalDocuments\ConsumerToolbox\Setting\__construct
__construct(private readonly Closure $value, private readonly Closure $update)
Definition:
Setting.php:35
ILIAS\LegalDocuments\ConsumerToolbox
Definition:
Blocks.php:21
ILIAS\LegalDocuments\ConsumerToolbox\Setting
A
Definition:
Setting.php:29
ilSetting
Services
LegalDocuments
classes
ConsumerToolbox
Setting.php
Generated on Wed Sep 10 2025 14:11:32 for ILIAS by
1.8.13 (using
Doxyfile
)