NewsletterFacade   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
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