Option::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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