Passed
Pull Request — main (#22)
by Andrey
28:59 queued 16:23
created

Directory::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\Support\Facades\Helpers\Filesystem;
4
5
use DirectoryIterator;
6
use Helldar\Support\Facades\BaseFacade;
7
use Helldar\Support\Helpers\Filesystem\Directory as Helper;
8
use SplFileInfo;
9
10
/**
11
 * @method static array names(string $path)
12
 * @method static bool delete(string $path)
13
 * @method static bool doesntExist(string $path)
14
 * @method static bool exists(string $path)
15
 * @method static bool isDirectory(DirectoryIterator|SplFileInfo|string $value)
16
 * @method static bool make(string $path, int $mode = 755)
17
 * @method static DirectoryIterator all(string $path)
18
 */
19
final class Directory extends BaseFacade
20
{
21
    protected static function getFacadeAccessor()
22
    {
23
        return Helper::class;
24
    }
25
}
26