FileDriverOptionsProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 12
rs 10
c 0
b 0
f 0
ccs 2
cts 2
cp 1
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getOptions() 0 3 1
1
<?php
2
/**
3
 * File: FileDriverOptionsProvider.php
4
 *
5
 * @author      Maciej Sławik <[email protected]>
6
 * Github:      https://github.com/maciejslawik
7
 */
8
9
namespace MSlwk\Otomoto\Middleware\Cache\Factory\File\OptionsProvider;
10
11
/**
12
 * Class FileDriverOptionsProvider
13
 * @package MSlwk\Otomoto\Middleware\Cache\Factory\File\OptionsProvider
14
 */
15
class FileDriverOptionsProvider implements FileDriverOptionsProviderInterface
16
{
17
    const DRIVER_OPTIONS = [
18
        'path' => __DIR__ . '/../../../../../../cache'
19
    ];
20
21
    /**
22
     * @return array
23
     */
24 6
    public function getOptions(): array
25
    {
26 6
        return self::DRIVER_OPTIONS;
27
    }
28
}
29