Passed
Pull Request — main (#84)
by Andrey
59:33 queued 44:34
created

Path::getFacadeAccessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 2
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\Path as Support;
6
use Illuminate\Support\Facades\Facade;
7
8
/**
9
 * @method static string directory(string $path)
10
 * @method static string extension(string $path)
11
 * @method static string filename(string $path)
12
 * @method static string locales(string $locale = null)
13
 * @method static string source(string $locale)
14
 * @method static string target(string $locale, bool $is_json = false)
15
 */
16
final class Path extends Facade
17
{
18
    protected static function getFacadeAccessor()
19
    {
20
        return Support::class;
21
    }
22
}
23