Files
php-flasher/ToastrBuilder.php
T
2020-12-06 04:03:14 +01:00

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;
}
}