Completed
Branch proxy (abe564)
by leo
03:38
created

SerializableModel   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0
1
<?php
2
3
/**
4
 * Created by PhpStorm.
5
 * User: leo108
6
 * Date: 2016/10/15
7
 * Time: 11:26
8
 */
9
class SerializableModel implements Serializable
10
{
11
    public function serialize()
12
    {
13
        return 'serialized str';
14
    }
15
16
    public function unserialize($serialized)
17
    {
18
        // TODO: Implement unserialize() method.
19
    }
20
}
21