Sandbox   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace SwooleTW\Http\Server\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static this setFramework($framework)
9
 * @method static string getFramework()
10
 * @method static this setBaseApp($app)
11
 * @method static \Illuminate\Container\Container getBaseApp()
12
 * @method static \Illuminate\Container\Container getApplication()
13
 * @method static this setRequest($request)
14
 * @method static \Illuminate\Http\Request getRequest($request)
15
 * @method static \Illuminate\Http\Response run()
16
 * @method static this setSnapshot($snapshot)
17
 * @method static \Illuminate\Container\Container getSnapshot()
18
 * @method static this initialize()
19
 * @method static boolean isLaravel()
20
 * @method static void terminate($request, $response)
21
 * @method static void enable()
22
 * @method static void disable()
23
 * @method static void setInstance($app)
24
 *
25
 * @see \SwooleTW\Http\Server\Sandbox
26
 */
27
class Sandbox extends Facade
28
{
29
    /**
30
     * Get the registered name of the component.
31
     *
32
     * @return string
33
     */
34
    protected static function getFacadeAccessor()
35
    {
36
        return 'swoole.sandbox';
37
    }
38
}