ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
BooleanValue.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues
;
20
21
use
ILIAS\BackgroundTasks\Value
;
22
23
class
BooleanValue
extends
ScalarValue
24
{
25
public
function
setValue
(
$value
): void
26
{
27
if
(!is_bool(
$value
)) {
28
throw
new \InvalidArgumentException(
"The value given must be a boolean! See php-documentation is_bool()."
);
29
}
30
$this->value =
$value
;
31
}
32
}
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:23
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\BooleanValue\setValue
setValue($value)
Definition:
BooleanValue.php:25
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\ScalarValue\$value
$value
Definition:
ScalarValue.php:30
Value
src
BackgroundTasks
Implementation
Values
ScalarValues
BooleanValue.php
Generated on Sun Aug 31 2025 22:02:40 for ILIAS by
1.8.13 (using
Doxyfile
)