RedisStore   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 12
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A serialize() 0 4 1
A unserialize() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Longman\LaravelLodash\Cache;
6
7
use Illuminate\Cache\RedisStore as BaseRedisStore;
8
9
class RedisStore extends BaseRedisStore
10
{
11
    protected function serialize($value)
12
    {
13
        return $value;
14
    }
15
16
    protected function unserialize($value)
17
    {
18
        return $value;
19
    }
20
}
21