ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
IntegerValue.php
Go to the documentation of this file.
1<?php
2
20
22
24{
25 #[\Override]
26 public function setValue($value): void
27 {
28 if (!is_int($value)) {
29 throw new InvalidArgumentException("The value given must be an integer! See php-documentation is_integer().");
30 }
31
32 parent::setValue($value);
33 }
34}
Class Exception Thrown if some procedure did not get the arguments it expected.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...