ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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\BooleanValue
Definition:
BooleanValue.php:22
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\BooleanValue\setValue
setValue($value)
Definition:
BooleanValue.php:24
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\ScalarValue
Definition:
ScalarValue.php:26
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\ScalarValue\$value
$value
Definition:
ScalarValue.php:30
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
components
ILIAS
BackgroundTasks
src
Implementation
Values
ScalarValues
BooleanValue.php
Generated on Sat Oct 18 2025 23:02:36 for ILIAS by
1.9.4 (using
Doxyfile
)