Definition at line 23 of file Field.php.
◆ __construct()
ILIAS\Data\Description\Field::__construct |
( |
protected string |
$name, |
|
|
protected Description |
$type |
|
) |
| |
- Parameters
-
string | $name | needs to match [a-zA-Z](|_)+ |
Definition at line 28 of file Field.php.
32 if (preg_match(
"/^[a-zA-Z](\w|_)+$/", $this->name) !== 1) {
33 throw new \InvalidArgumentException(
"Expected name to match [a-zA-Z](\w|_)+, got \"$name\"");
◆ getName()
ILIAS\Data\Description\Field::getName |
( |
| ) |
|
◆ getType()
ILIAS\Data\Description\Field::getType |
( |
| ) |
|
The documentation for this class was generated from the following file:
- components/ILIAS/Data/src/Description/Field.php