Passed
Push — main ( 55f929...127e84 )
by Andrey
161:41 queued 158:10
created

Locales::getFacadeAccessor()   A

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 Helldar\LaravelLangPublisher\Facades;
4
5
use Helldar\LaravelLangPublisher\Support\Locales as Support;
6
use Illuminate\Support\Facades\Facade;
7
8
/**
9
 * @method static array available(bool $all = false)
10
 * @method static array installed()
11
 * @method static array protects()
12
 * @method static bool isAvailable(string $locale)
13
 * @method static bool isInstalled(string $locale)
14
 * @method static bool isProtected(string $locale)
15
 * @method static string getDefault()
16
 * @method static string getFallback()
17
 * @method static void validate(string $locale)
18
 */
19
final class Locales extends Facade
20
{
21
    protected static function getFacadeAccessor()
22
    {
23
        return Support::class;
24
    }
25
}
26