Tracker::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 0
crap 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