Files
StocksNew/vendor/yoeunes/toastr/src/Facades/Toastr.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

31 lines
964 B
PHP

<?php
/*
* This file is part of the yoeunes/toastr package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Yoeunes\Toastr\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @method static \Yoeunes\Toastr\Toastr error(string $message, string $title = '', array $options = [])
* @method static \Yoeunes\Toastr\Toastr info(string $message, string $title = '', array $options = [])
* @method static \Yoeunes\Toastr\Toastr success(string $message, string $title = '', array $options = [])
* @method static \Yoeunes\Toastr\Toastr warning(string $message, string $title = '', array $options = [])
* @method static \Yoeunes\Toastr\Toastr addNotification(string $type, string $message, string $title = '', array $options = [])
*/
class Toastr extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'toastr';
}
}