ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
StringValue.php
Go to the documentation of this file.
1<?php
2
4
6
8{
9 public function setValue($string)
10 {
11 if (!is_string($string)) {
12 throw new InvalidArgumentException("The value given must be a string! See php-documentation is_string().");
13 }
14 parent::setValue($string);
15 }
16}
An exception for terminatinating execution or to throw for unit testing.