Notifier   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 2
c 1
b 0
f 1
dl 0
loc 5
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace Usamamuneerchaudhary\Notifier\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static void send($user, string $eventKey, array $data = [])
9
 * @method static void sendNow($user, string $eventKey, array $data = [])
10
 * @method static void sendToChannel($user, string $eventKey, string $channelType, array $data = [])
11
 * @method static void schedule($user, string $eventKey, \Carbon\Carbon $scheduledAt, array $data = [])
12
 * @method static void registerChannel(string $type, $handler)
13
 * @method static void registerEvent(string $key, array $config)
14
 * @method static array getRegisteredChannels()
15
 * @method static array getRegisteredEvents()
16
 * 
17
 * @see \Usamamuneerchaudhary\Notifier\Services\NotifierManager
18
 */
19
class Notifier extends Facade
20
{
21
    protected static function getFacadeAccessor()
22
    {
23
        return 'notifier';
24
    }
25
}