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