Passed
Pull Request — master (#838)
by Georges
03:44 queued 01:36
created

Item::getDriverClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
3
/**
4
 *
5
 * This file is part of phpFastCache.
6
 *
7
 * @license MIT License (MIT)
8
 *
9
 * For full copyright and license information, please see the docs/CREDITS.txt file.
10
 *
11
 * @author Lucas Brucksch <[email protected]>
12
 *
13
 */
14
declare(strict_types=1);
15
16
namespace Phpfastcache\Drivers\Zendshm;
17
18
use Phpfastcache\Core\Item\ExtendedCacheItemInterface;
19
use Phpfastcache\Core\Item\TaggableCacheItemTrait;
20
21
class Item implements ExtendedCacheItemInterface
22
{
23
    use TaggableCacheItemTrait;
24
25
    protected function getDriverClass(): string
26
    {
27
        return Driver::class;
28
    }
29
}
30