SuperCacheFacade::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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