Respond   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 12
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 Vahid\Respond\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * Class Respond
9
 * @package Vahid\Respond\Facades
10
 *
11
 * @method static succeed($data)
12
 * @method static deleteSucceeded($message = null)
13
 * @method static updateSucceeded($message = null)
14
 * @method static insertSucceeded($message = null)
15
 * @method static deleteFailed($message = null)
16
 * @method static updateFailed($message = null)
17
 * @method static insertFailed($message = null)
18
 * @method static connectionRefused()
19
 * @method static notFound()
20
 * @method static wrongParameters()
21
 * @method static methodNotAllowed()
22
 * @method static validationErrors($message = null)
23
 * @method static requestFailedNotFound()
24
 * @method static requestFailedDuplicated()
25
 * @method static error($code)
26
 */
27
class Respond extends Facade
28
{
29
30
31
    /**
32
     * Get the registered name of the component.
33
     *
34
     * @return string
35
     */
36
    protected static function getFacadeAccessor()
37
    {
38
        return 'Vahid\Respond\Messages';
39
    }
40
41
}
42