Passed
Pull Request — master (#104)
by Anton
13:25
created

FlysystemDependencyProvider::addFilesystemBuilderPluginCollection()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 10
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
/**
4
 * This file is part of the Spryker Commerce OS.
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
namespace Pyz\Service\Flysystem;
9
10
use Spryker\Service\Flysystem\FlysystemDependencyProvider as SprykerFlysystemDependencyProvider;
11
use Spryker\Service\FlysystemFtpFileSystem\Plugin\Flysystem\FtpFilesystemBuilderPlugin;
12
use Spryker\Service\FlysystemLocalFileSystem\Plugin\Flysystem\LocalFilesystemBuilderPlugin;
13
14
class FlysystemDependencyProvider extends SprykerFlysystemDependencyProvider
15
{
16
    /**
17
     * @return array<\Spryker\Service\Flysystem\Dependency\Plugin\FlysystemFilesystemBuilderPluginInterface>
18
     */
19
    protected function getFilesystemBuilderPluginCollection(): array
20
    {
21
        return [
22
            new FtpFilesystemBuilderPlugin(),
23
            new LocalFilesystemBuilderPlugin(),
24
        ];
25
    }
26
}
27