Completed
Push — master ( 12c1f4...e099bf )
by Lars
01:58
created

SerializerNo   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A serialize() 0 4 1
A unserialize() 0 4 1
1
<?php
2
3
namespace voku\cache;
4
5
/**
6
 * SerializerNo: no serialize / unserialize !!!
7
 *
8
 * @package voku\cache
9
 */
10
class SerializerNo implements iSerializer
11
{
12
13
  /**
14
   * @inheritdoc
15
   */
16
  public function serialize($value)
17
  {
18
    return $value;
19
  }
20
21
  /**
22
   * @inheritdoc
23
   */
24
  public function unserialize($value)
25
  {
26
    return $value;
27
  }
28
29
}
30