SuperCacheFacade   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace Padosoft\SuperCache\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static void  put(string $key, mixed $value, ?int $ttl = null, ?string $connection_name = null)
9
 * @method static void  putWithTags(string $key, mixed $value, array $tags, ?int $ttl = null, ?string $connection_name = null)
10
 * @method static mixed get(string $key, mixed $default = null, ?string $connection_name = null)
11
 * @method static mixed forget(string $key, ?string $connection_name = null)
12
 * @method static bool  has(string $key, ?string $connection_name = null)
13
 * @method static int   increment(string $key, int $increment = 1, ?string $connection_name = null)
14
 * @method static int   decrement(string $key, int $decrement = 1, ?string $connection_name = null)
15
 * @method static void  flush(?string $connection_name = null)
16
 * @method static array getKeys(array $patterns, ?string $connection_name = null)
17
 */
18
class SuperCacheFacade extends Facade
19
{
20
    /**
21
     * Get the registered name of the component.
22
     */
23
    protected static function getFacadeAccessor(): string
24
    {
25
        return 'supercache';
26
    }
27
}
28