Krucas\Notification\NotificationsBag::show PHP Метод

show() публичный Метод

Returns generated output of non flash messages.
public show ( null $type = null, null $format = null ) : string
$type null
$format null
Результат string
    public function show($type = null, $format = null)
    {
        $messages = $this->getMessagesForRender($type);
        $this->groupForRender = array();
        $output = '';
        foreach ($messages as $message) {
            if (!$message->isFlash()) {
                if (!is_null($format)) {
                    $message->setFormat($format);
                }
                $output .= $message->render();
            }
        }
        return $output;
    }