mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
25 lines
436 B
PHP
25 lines
436 B
PHP
<?php
|
|
|
|
namespace Flasher\Toastr\Prime;
|
|
|
|
use Flasher\Prime\Notification\NotificationBuilder;
|
|
|
|
/**
|
|
* @method Toastr getNotification()
|
|
*/
|
|
final class ToastrBuilder extends NotificationBuilder
|
|
{
|
|
/**
|
|
* @param string $title
|
|
*
|
|
* @return self
|
|
*/
|
|
public function title($title)
|
|
{
|
|
$notification = $this->envelope->getNotification();
|
|
$notification->setTitle($title);
|
|
|
|
return $this;
|
|
}
|
|
}
|