RedisSentinel   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
1
<?php
2
3
namespace Monospice\LaravelRedisSentinel;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * A Laravel facade that provides access to the RedisSentinelManager instance
9
 *
10
 * @category Package
11
 * @package  Monospice\LaravelRedisSentinel
12
 * @author   Cy Rossignol <[email protected]>
13
 * @license  See LICENSE file
14
 * @link     http://github.com/monospice/laravel-redis-sentinel-drivers
15
 */
16
class RedisSentinel extends Facade
17
{
18
    /**
19
     * Get the registered name of the component.
20
     *
21
     * @return string
22
     */
23
    protected static function getFacadeAccessor()
24
    {
25
        return 'redis-sentinel';
26
    }
27
}
28