Add toastr warning message

@param $body
@param string $title
@return $this
548286
public function warning($body = '', $title = '')
    {
        $body = empty($body) ?  configurator()->get('toastr.warning.default') : $body;
        $this->append([static::TYPE_INLINE, sprintf('toastr.warning("%s", "%s");', $body, $title)]);
        return $this;
    }
875146
public function add(string $title, string $url)
    {
        $this->breadcrumbs->push(new Breadcrumb($title, $url));
    }
774249
public function setTitle(?string $title, bool $includePageName = false) {
		if ($title === null) {
			return $this;
		}
		
		$this->htmlProperties->set(self::HEAD_TITLE_KEY, new HtmlElement('title', null, $title
				. ($includePageName ?  ' - ' . $this->getPageName() : '')));
		
		return $this;
	}
60280
public function deleteByTitle($title) {
        $result = $this->api->request(
            'monitoring.livestatus.delete',
            [
                'title' => $title
            ]
        );

        if (!array_key_exists('success', $result) ||
            $result['success'] !== true) {
            if (array_key_exists('message', $result)) {
                throw new RuntimeException(sprintf('Bad result: %s', $result['message']));
            } else {
                throw new RuntimeException('Bad result');
            }
        }

        return $this;
    }
907347
public function setTitle(string $title) {
        if($this->setModified('title', $title)->isModified()) {
            $this->title = $title;
        }

        return $this;
    }
874892
public function setBody($body)
    {
        $this->code = array(new CodeLineGenerator($body, $this->getIndentationLevel(), $this->getIndentationString()));

        return $this;
    }
401189
public function createActiveItem($text, $title = '')
    {
        $breadcrumb = new BreadcrumbObject();

        $breadcrumb->setText($text);
        $breadcrumb->setActive(true);

        if ($title) {
            $breadcrumb->setTitle($title);
        }

        $this->breadcrumbs[] = $breadcrumb;

        return $breadcrumb;
    }
718840
public function addGroup($title)
    {
        $group = $this->add([new self(), 'defaultTemplate' => 'menugroup.html', 'ui' => false]);
        if (is_string($title)) {
            $group->set('title', $title);
        } else {
            if (isset($title['icon']) && $title['icon']) {
                $group->add(new Icon($title['icon']), 'Icon')->removeClass('item');
            }
            $group->set('title', $title[0]);
        }

        return $group;
    }
616495
public function messagesSendNew($token, $title, $text, $recipient)
    {
        $params = array(
            'token'     => $token,
            'title'     => $title,
            'text'      => $text,
            'recipient' => $recipient
        );

        return $this->query('messages/send.json', $params, 'post');
    }
695893
public function setTitle(string $title): self
    {
        if (strlen($title) > 31) {
            $title = mb_substr($title, 0, 31);
        }

        $this->title = $title;

        return $this;
    }
911398
public function toast($title = '', $type = '', $position = 'bottom-right')
    {
        $this->config['toast'] = true;
        $this->config['title'] = $title;
        $this->config['showCloseButton'] = true;
        $this->config['type'] = $type;
        $this->config['position'] = $position;

        $this->flash();

        return $this;
    }
546301
protected function notifyWarning($message, $title = null, array $options = [])
    {
        $this->notifyFlash($message, 'warning', $title, $options);
    }
770848
public function warning(string $message, string $title = '', array $options = []): self
    {
        return $this->addNotification(self::WARNING, $message, $title, $options);
    }
141030
public function setBrowserTitle($title, $isFrontend = true, $prefix = 'Backend')
    {
        $strResult = ($isFrontend ? $title : $prefix . ' :: ' . $title);
        $this->title = $strResult;
    }
785438
public function addDescription($title, $description, $titleAttribs = [], $descAttribs = [])
    {
        $this->addTitle($title, $titleAttribs)
            ->addDesc($description, $descAttribs);

        return $this;
    }
641047
public function setTitle($title = null)
    {
        if ($title === null) {
            $this->title = null;
        }
        else {
            $this->title = (string) $title;
        }
        return $this;
    }
44174
public function bar(string $title = null)
    {
        Tracy::barDump($this->var, $title, $this->getOptions());
        return $this;
    }