Option   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 ArinaSystems\JsonResponse\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * Option.
9
 *
10
 * @method static \ArinaSystems\JsonResponse\Option instance() Get the current instance of json response options.
11
 * @method static \ArinaSystems\JsonResponse\Option set(string|array $key, mixed $value = null) Set a option to a given value using "dot" notation.
12
 * @method static mixed get(string $key, $default = null) Get a option from an array using "dot" notation.
13
 * @method static array all() Retrieve all json response options.
14
 * @method static array builders() Retrieve all attributes builders.
15
 */
16
class Option 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 'json-response.option';
26
    }
27
}
28