ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
BooleanValue.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues
;
20
21
class
BooleanValue
extends
ScalarValue
22
{
23
#[\Override]
24
public
function
setValue
(
$value
): void
25
{
26
if
(!is_bool(
$value
)) {
27
throw
new \InvalidArgumentException(
"The value given must be a boolean! See php-documentation is_bool()."
);
28
}
29
$this->value =
$value
;
30
}
31
}
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
BasicScalarValueFactory.php:19
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\ScalarValue
Definition:
ScalarValue.php:25
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\BooleanValue
Definition:
BooleanValue.php:21
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\BooleanValue\setValue
setValue($value)
Definition:
BooleanValue.php:24
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\ScalarValue\$value
$value
Definition:
ScalarValue.php:30
components
ILIAS
BackgroundTasks
src
Implementation
Values
ScalarValues
BooleanValue.php
Generated on Sun Aug 31 2025 23:02:17 for ILIAS by
1.8.13 (using
Doxyfile
)