hasIconImages; } /** * Set whether the list contains at least one item with an icon_image * * @param bool $hasIconImages * * @return $this */ public function setHasIconImages(bool $hasIconImages): self { $this->hasIconImages = $hasIconImages; return $this; } protected function assemble(): void { $this->addAttributes(['class' => $this->getViewMode()]); parent::assemble(); if ($this->data instanceof VolatileStateResults && $this->data->isRedisUnavailable()) { $this->prependWrapper((new HtmlDocument())->addHtml(new Notice( t('Icinga Redis is currently unavailable. The shown information might be outdated.') ))); } } }