FileDriverOptionsProvider::getOptions()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
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