ILIAS  release_8 Revision v8.24
BooleanValue.php
Go to the documentation of this file.
1<?php
2
20
22
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}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...