for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Usernotnull\Toast;
class Toast
{
public function danger(string $message, string $title = null): Notification
return new Notification($message, $title, NotificationType::$danger);
}
public function debug(string $message, string $title = null): Notification
return new Notification($message, $title, NotificationType::$debug);
public function info(string $message, string $title = null): Notification
return new Notification($message, $title, NotificationType::$info);
public function success(string $message, string $title = null): Notification
return new Notification($message, $title, NotificationType::$success);
public function warning(string $message, string $title = null): Notification
return new Notification($message, $title, NotificationType::$warning);