CustomConfig   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
1
<?php
2
3
namespace Nzsakib\DbConfig\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static array get()
9
 * @method static array getCachedData()
10
 * @method static \Illuminate\Database\Eloquent\Builder getQuery()
11
 * @method static \Illuminate\Database\Eloquent\Collection getCollection()
12
 * @method static \Nzsakib\DbConfig\Models\Configuration set(string $name, $value)
13
 * @method static \Nzsakib\DbConfig\Models\Configuration updateById($id, string $name, $newValue)
14
 * @method static \Nzsakib\DbConfig\Models\Configuration updateByName(string $name, $newValue)
15
 * @method static \Nzsakib\DbConfig\Models\Configuration deleteByName(string $name)
16
 * @method static \Nzsakib\DbConfig\Models\Configuration deleteById($id)
17
 *
18
 * @see \Nzsakib\DbConfig\DbConfig
19
 */
20
class CustomConfig extends Facade
21
{
22
    /**
23
     * Get the registered name of the component.
24
     *
25
     * @return string
26
     */
27
    protected static function getFacadeAccessor()
28
    {
29
        return 'db-config';
30
    }
31
}
32