Psr6CacheThrottleTest::createStore()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Zenstruck\Governator\Tests\Integration;
4
5
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
6
use Zenstruck\Governator\Store;
7
use Zenstruck\Governator\Store\Psr6CacheStore;
8
9
/**
10
 * @group time-sensitive
11
 *
12
 * @author Kevin Bond <[email protected]>
13
 */
14
final class Psr6CacheThrottleTest extends BaseThrottleTest
15
{
16
    protected function createStore(): Store
17
    {
18
        return new Psr6CacheStore(new FilesystemAdapter());
19
    }
20
}
21