-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathNotification.php
More file actions
43 lines (40 loc) · 1.43 KB
/
Copy pathNotification.php
File metadata and controls
43 lines (40 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
namespace Krucas\Notification\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @method static Notification info(string $message)
* @method static Notification success(string $message)
* @method static Notification error(string $message)
* @method static Notification warning(string $message)
*
* @method static Notification infoInstant(string $message)
* @method static Notification successInstant(string $message)
* @method static Notification errorInstant(string $message)
* @method static Notification warningInstant(string $message)
*
* @method static Notification showAll()
* @method static Notification showInfo(string $format)
* @method static Notification showSuccess(string $format)
* @method static Notification showError(string $format)
* @method static Notification showWarning(string $format)
*
* @method static Notification clearAll() Clear all messages.
* @method static Notification clearInfo() Cear all info messages.
* @method static Notification clearSuccess() Clear all success messages.
* @method static Notification clearError() Clear all error messages.
* @method static Notification clearWarning() Clear all warning messages.
*
* @method static Notification container(string $container)
*/
class Notification extends Facade
{
/**
* Get the registered component.
*
* @return object
*/
protected static function getFacadeAccessor()
{
return 'notification';
}
}