19declare(strict_types=1);
102 $clone = clone($this);
103 $clone->visiblility_callable = $is_visible;
110 if (isset($this->is_visible_static)) {
114 return $this->is_visible_static =
false;
116 if (is_callable($this->visiblility_callable)) {
119 $value = $callable();
121 return $this->is_visible_static = $value;
124 return $this->is_visible_static =
true;
129 if (is_callable($this->available_callable)) {
140 $clone = clone($this);
141 $clone->available_callable = $is_available;
148 $clone = clone($this);
156 $clone = clone($this);
164 $clone = clone($this);
Builds a Color from either hex- or rgb values.
Class AdministrativeNotificationRenderer.
Class AbstractBaseNotification.
Closure $visiblility_callable
getRenderer(UIFactory $factory)
@inheritDoc
const DENOTATION_IMPORTANT
withVisibilityCallable(callable $is_visible)
withTitle(string $title)
@inheritDoc
withAvailableCallable(callable $is_available)
Closure $available_callable
withSummary(string $summary)
@inheritDoc
IdentificationInterface $provider_identification
bool $is_always_available
withImportantDenotation()
const DENOTATION_BREAKING
Interface IdentificationInterface.
Interface NotificationRenderer Every Notification should have a renderer, if you won't provide on in ...