first commit
This commit is contained in:
30
vendor/yoeunes/toastr/src/Facades/Toastr.php
vendored
Normal file
30
vendor/yoeunes/toastr/src/Facades/Toastr.php
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
<?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';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user