Counters   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

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