Definition at line 15 of file Alphanumeric.php.
◆ __construct()
ILIAS\Data\Alphanumeric::__construct |
( |
|
$value | ) |
|
- Parameters
-
- Exceptions
-
ConstraintViolationException | |
Definition at line 26 of file Alphanumeric.php.
References ILIAS\Data\Alphanumeric\$value.
29 if (!preg_match(
'/^[a-zA-Z0-9]+$/', (
string)
$value, $matches)) {
30 throw new ConstraintViolationException(
31 sprintf(
'The value "%s" is not an alphanumeric value.', $value),
32 'exception_not_alphanumeric',
◆ asString()
ILIAS\Data\Alphanumeric::asString |
( |
| ) |
|
◆ getValue()
ILIAS\Data\Alphanumeric::getValue |
( |
| ) |
|
◆ $value
ILIAS\Data\Alphanumeric::$value |
|
private |
The documentation for this class was generated from the following file: