Counters::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
namespace Turahe\Counters\Facades;
3
4
use Illuminate\Support\Facades\Facade;
5
6
/**
7
 * Class Counters.
8
 * @package Turahe\Counters\Facades
9
 * @method static create($key, $name, $initial_value = 0, $step = 1)
10
 * @method static get($key)
11
 * @method static getValue($key, $default = null)
12
 * @method static setValue($key, $value)
13
 * @method static setStep($key, $step)
14
 * @method static increment($key, $step = null)
15
 * @method static decrement($key, $step = null)
16
 * @method static reset($key)
17
 * @method static incrementIfNotHasCookies($key, $step = null)
18
 * @method static decrementIfNotHasCookies($key, $step = null)
19
 */
20
class Counters extends Facade
21
{
22
    /**
23
     * @return string
24
     */
25
    public static function getFacadeAccessor()
26
    {
27
        return \Turahe\Counters\Classes\Counters::class;
28
    }
29
}
30