Passed
Pull Request — main (#22)
by Andrey
27:00 queued 12:02
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 Helldar\Support\Facades\BaseFacade;
6
use Helldar\Support\Helpers\Filesystem\Directory as Helper;
7
8
/**
9
 * @method static \DirectoryIterator all(string $path)
10
 * @method static array names(string $path)
11
 * @method static bool make(string $path, int $mode = 755)
12
 * @method static bool exists(string $path)
13
 * @method static bool doesntExist(string $path)
14
 */
15
final class Directory extends BaseFacade
16
{
17
    protected static function getFacadeAccessor()
18
    {
19
        return Helper::class;
20
    }
21
}
22