Analytics   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
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 8
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
use Usamamuneerchaudhary\Notifier\Services\AnalyticsService;
7
8
/**
9
 * @method static bool isEnabled()
10
 * @method static bool isOpenTrackingEnabled()
11
 * @method static bool isClickTrackingEnabled()
12
 * @method static string generateTrackingPixel(string $trackingToken)
13
 * @method static void trackOpen(\Usamamuneerchaudhary\Notifier\Models\Notification $notification)
14
 * @method static void trackClick(\Usamamuneerchaudhary\Notifier\Models\Notification $notification)
15
 *
16
 * @see \Usamamuneerchaudhary\Notifier\Services\AnalyticsService
17
 */
18
class Analytics extends Facade
19
{
20
    /**
21
     * Get the registered name of the component.
22
     */
23
    protected static function getFacadeAccessor(): string
24
    {
25
        return AnalyticsService::class;
26
    }
27
}
28
29