Factory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 4 1
1
<?php
2
3
namespace AmaTeam\Image\Projection\Filesystem;
4
5
use League\Flysystem\Adapter\Local;
6
use League\Flysystem\Filesystem;
7
use League\Flysystem\FilesystemInterface;
8
9
class Factory
10
{
11
    /**
12
     * @return FilesystemInterface
13
     */
14
    public static function create()
15
    {
16
        $adapter = new Local(getcwd());
17
        return new Filesystem($adapter);
18
    }
19
}
20