AbstractRole.php
55 throw new ValidationException($name, $value, $message->getText("The role '%0%' already exists", [$value]));
ValidationException signals an exception in validation.
Definition: ValidationException.php:18
validateValue($name, $value)
Definition: AbstractRole.php:42
static getInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:47
setValue($name, $value, $forceSet=false, $trackChange=true)
Definition: Node.php:125
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24
Default implementation of a role.
Definition: AbstractRole.php:23