diff --git a/src/Authorization/Event/GetAvailableAttributesEvent.php b/src/Authorization/Event/GetAvailableAttributesEvent.php index 8cefaa60e3e6286dbbe9deae34ee004805508491..58010126c882abc52e3241189e19748a87f5adcf 100644 --- a/src/Authorization/Event/GetAvailableAttributesEvent.php +++ b/src/Authorization/Event/GetAvailableAttributesEvent.php @@ -41,4 +41,9 @@ class GetAvailableAttributesEvent extends Event { $this->attributes = $attributes; } + + public function addAttribute(string $name): void + { + $this->attributes[] = $name; + } }