Completed
Push — master ( df428d...59132f )
by Divine Niiquaye
02:39
created

CacheItemPoolTest::createCachePool()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of BiuradPHP opensource projects.
7
 *
8
 * PHP version 7.1 and above required
9
 *
10
 * @author    Divine Niiquaye Ibok <[email protected]>
11
 * @copyright 2019 Biurad Group (https://biurad.com/)
12
 * @license   https://opensource.org/licenses/BSD-3-Clause License
13
 *
14
 * For the full copyright and license information, please view the LICENSE
15
 * file that was distributed with this source code.
16
 */
17
18
namespace Biurad\Cache\Tests;
19
20
use Biurad\Cache\AdapterFactory;
21
use Biurad\Cache\CacheItemPool;
22
use Biurad\Cache\SimpleCache;
23
use Cache\IntegrationTests\CachePoolTest;
24
25
class CacheItemPoolTest extends CachePoolTest
26
{
27
    public function createCachePool()
28
    {
29
        $adapter = AdapterFactory::createHandler('file://' . __DIR__ . '/caches/psr6');
30
        
31
        return new CacheItemPool($adapter);
32
    }
33
}
34