Definition at line 23 of file Name.php.
◆ __construct()
ILIAS\Component\Dependencies\Name::__construct |
( |
protected string |
$name | ) |
|
Definition at line 27 of file Name.php.
30 if (!preg_match(self::PROPER_NAME_REGEXP, $this->name)) {
31 throw new \InvalidArgumentException(
32 "{$this->name} is not a proper name for a dependency."
◆ __toString()
ILIAS\Component\Dependencies\Name::__toString |
( |
| ) |
|
◆ PROPER_NAME_REGEXP
const ILIAS\Component\Dependencies\Name::PROPER_NAME_REGEXP = "/\w+([\\\\]\w+){2,}/" |
|
private |
The documentation for this class was generated from the following file:
- components/ILIAS/Component/src/Dependencies/Name.php