protected function baseNotification($message, $bgColor, $icon, $iconColor, $escape = true)
    {
        $s  = "<?php echo '<div class=\"flex ".$bgColor." bg-circuit bg-md rounded text-center text-white text-sm font-bold mb-6 px-4 py-3 shadow\" role=\"alert\">";
        $s .= '<div class="bg-white rounded shadow-lg -mt-6 w-8 h-8">';
        $s .= '<div class="h-full flex justify-center items-center '.$iconColor.'">';
        $s .= $this->getIconString($icon, '', 24, 24);
        $s .= '</div></div>';
        if ($escape) {
            $s .= "<p class=\"ml-3\">'.e($message).'</p>";
        } else {
            $s .= "<p class=\"ml-3\">'.$message.'</p>";
        }
        $s .= "</div>'; ?>";

        return $s;
    }
protected function baseNotification($message, $bgColor, $icon, $iconColor, $escape = true)
    {
        $s  = "<?php echo '<div class=\"flex ".$bgColor." bg-circuit bg-md rounded text-center text-white text-sm font-bold mb-6 px-4 py-3 shadow\" role=\"alert\">";
        $s .= '<div class="bg-white rounded shadow-lg -mt-6 w-8 h-8">';
        $s .= '<div class="h-full flex justify-center items-center '.$iconColor.'">';
        $s .= $this->getIconString($icon, '', 24, 24);
        $s .= '</div></div>';
        if ($escape) {
            $s .= "<p class=\"ml-3\">'.e($message).'</p>";
        } else {
            $s .= "<p class=\"ml-3\">'.$message.'</p>";
        }
        $s .= "</div>'; ?>";

        return $s;
    }
protected function baseNotification ( $ message , $ bgColor , $ icon , $ iconColor , $ escape = true ) { $ s = "<?php echo '<div class=\"flex " . $ bgColor . " bg-circuit bg-md rounded text-center text-white text-sm font-bold mb-6 px-4 py-3 shadow\" role=\"alert\">" ; $ s .= '<div class="bg-white rounded shadow-lg -mt-6 w-8 h-8">' ; $ s .= '<div class="h-full flex justify-center items-center ' . $ iconColor . '">' ; $ s .= $ this -> getIconString ( $ icon , '' , 24 , 24 ) ; $ s .= '</div></div>' ; if ( $ escape ) { $ s .= "<p class=\"ml-3\">'.e($message).'</p>" ; } else { $ s .= "<p class=\"ml-3\">'.$message.'</p>" ; } $ s .= "</div>'; ?>" ; return $ s ; }
The base notification to use.

@param  string  $message
@param  string  $bgColor
@param  string  $icon
@param  string  $iconColor
@param  bool  $escape
@return string
The base notification to use .