Psr6CacheThrottleTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 5
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A createStore() 0 3 1
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