Region   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace SimpleCMS\Region\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static \Illuminate\Support\Collection getAll()
9
 * @method static \Illuminate\Support\Collection getAllChildren(string $code)
10
 * @method static \SimpleCMS\Region\Packages\RegionModel|null findRegion(string $code)
11
 * @method static \Illuminate\Support\Collection getChildren(string $code, int $deep = 0)
12
 * @method static bool checkName(string $name)
13
 * @method static bool checkCode(string $code)
14
 * @method static bool checkArea(string $area)
15
 * @method static bool checkNumber(string $number)
16
 * @method static bool checkZip(string $zip)
17
 * 
18
 * @see \SimpleCMS\Region\Packages\Region
19
 */
20
class Region extends Facade
21
{
22
    /**
23
     * @return string
24
     */
25
    protected static function getFacadeAccessor()
26
    {
27
        return 'region';
28
    }
29
}
30