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

Directory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
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