Completed
Push — master ( d0c6f2...e28c79 )
by Avtandil
03:11
created

RedisStore   A

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 8
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
 * This file is part of the Laravel Lodash package.
4
 *
5
 * (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
declare(strict_types=1);
11
12
namespace Longman\LaravelLodash\Cache;
13
14
use Illuminate\Cache\RedisStore as BaseRedisStore;
15
16
class RedisStore extends BaseRedisStore
17
{
18
    protected function serialize($value)
19
    {
20
        return $value;
21
    }
22
23
    protected function unserialize($value)
24
    {
25
        return $value;
26
    }
27
}
28