19declare(strict_types=1);
108 $clone = clone $this;
124 $clone = clone($this);
125 $clone->visiblility_callable = $is_visible;
132 if (isset($this->is_visible_static)) {
136 return $this->is_visible_static =
false;
138 if (is_callable($this->visiblility_callable)) {
141 $value = $callable();
143 return $this->is_visible_static = $value;
146 return $this->is_visible_static =
true;
151 if (is_callable($this->available_callable)) {
162 $clone = clone($this);
163 $clone->available_callable = $is_available;
170 $clone = clone($this);
178 $clone = clone($this);
186 $clone = clone($this);
An exception for terminatinating execution or to throw for unit testing.
Class AdministrativeNotificationRenderer.
Class AbstractBaseNotification.
getRenderer(UIFactory $factory)
@inheritDoc
const DENOTATION_IMPORTANT
withVisibilityCallable(callable $is_visible)
withTitle(string $title)
@inheritDoc
withAvailableCallable(callable $is_available)
withSummary(string $summary)
@inheritDoc
withImportantDenotation()
const DENOTATION_BREAKING
Interface IdentificationInterface.
Interface NotificationRenderer Every Notification should have a renderer, if you won't provide on in ...
This is how the factory for UI elements looks.