LaraCache   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
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 5
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace Mostafaznv\LaraCache\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
use Mostafaznv\LaraCache\CacheEntity;
7
8
9
/**
10
 * @method static update(mixed $model, string $name, string $event = '', CacheEntity $entity = null)
11
 * @method static updateAll(mixed $model = null)
12
 * @method static delete(mixed $model, string $name, bool $forever = false)
13
 * @method static deleteAll(mixed $model = null, bool $forever = false)
14
 * @method static retrieve(mixed $model, string $name, bool $withCacheData = false)
15
 * @method static void enable(mixed $model)
16
 * @method static void disable(mixed $model)
17
 * @method static array list()
18
 *
19
 * @see \Mostafaznv\LaraCache\LaraCache
20
 */
21
class LaraCache extends Facade
22
{
23
    protected static function getFacadeAccessor(): string
24
    {
25
        return 'laracache';
26
    }
27
}
28