Respond::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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