Tracker   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
/**
4
 * Tracker.php
5
 *
6
 * Laravel identification for the Tracker Facade defined in
7
 * TrackerServiceProvider.php.
8
 *
9
 * PHP version 7.2
10
 *
11
 * @category Facades
12
 * @package  RedboxTracker
13
 * @author   Johnny Mast <[email protected]>
14
 * @license  https://opensource.org/licenses/MIT MIT
15
 * @link     https://github.com/johnnymast/redbox-tracker
16
 * @since    GIT:1.0
17
 */
18
19
namespace Redbox\Tracker\Facades;
20
21
use Illuminate\Support\Facades\Facade;
22
23
/**
24
 * Class Tracker
25
 *
26
 * Identifies the Tracker Facade.
27
 *
28
 * PHP version 7.2
29
 *
30
 * @method static function recordVisit(): bool
31
 *
32
 * @see Redbox\Tracker\Tracker
33
 *
34
 * @category Facades
35
 * @package  RedboxTracker
36
 * @author   Johnny Mast <[email protected]>
37
 * @license  https://opensource.org/licenses/MIT MIT
38
 * @link     https://github.com/johnnymast/redbox-tracker
39
 * @since    GIT:1.0
40
 */
41
class Tracker extends Facade
42
{
43
    /**
44
     * Define the alias for this Tracker Facade.
45
     *
46
     * @return string
47
     */
48 18
    protected static function getFacadeAccessor()
49
    {
50 18
        return 'redbox-tracker-tracker';
51
    }
52
}
53