ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
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...