Attributes Methods
getAttribute($name, $default)
getAttribute($name, $default)
Get an attribute. If it does not exist, return a $default
. Supports dot notation for nested fields.
setAttribute($name, $value)
setAttribute($name, $value)
Sets an attribute to the configuration. Supports dot notation for nested fields.
For the spec.*
paths, please consider using ->setSpec()
and ->getSpec()
:
removeAttribute($name)
removeAttribute($name)
Remove an attribute from the configuration. Supports dot notation for nested fields.
addToAttribute($name, $element)
addToAttribute($name, $element)
Append an $element
to the $name
attribute in an instance. For example, it might be an array of rules
like the RBAC Rules instance has:
Last updated