NewsletterFacade::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace DansMaCulotte\Newsletter;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @see Newsletter
9
 * @method static subscribe(string $email, array $options = [], string $listName = '')
10
 * @method static subscribeOrUpdate(string $email, array $options = [], string $listName = '')
11
 * @method static addMember(string $email, array $options = [], string $listName = '')
12
 * @method static getMembers(string $listName, array $parameters = [])
13
 * @method static getMember(string $email, string $listName = '')
14
 * @method static bool hasMember(string $email, string $listName = '')
15
 * @method static bool isSubscribed(string $email, string $listName = '')
16
 * @method static unsubscribe(string $email, string $listName = '')
17
 * @method static delete(string $email, string $listName = '')
18
 * @method static getLastError()
19
 * @method static getApi()
20
 */
21
class NewsletterFacade extends Facade
22
{
23
    public static function getFacadeAccessor()
24
    {
25
        return 'newsletter';
26
    }
27
}
28