SwooleTable   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace SwooleTW\Http\Table\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static \SwooleTW\Http\Table\SwooleTable add($name, $table)
9
 * @method static \Swoole\Table get($name)
10
 * @method static array getAll()
11
 *
12
 * @see \SwooleTW\Http\Table\SwooleTable
13
 */
14
class SwooleTable extends Facade
15
{
16
    /**
17
     * Get the registered name of the component.
18
     *
19
     * @return string
20
     */
21
    protected static function getFacadeAccessor()
22
    {
23
        return 'swoole.table';
24
    }
25
}