Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 14 |
Ratio | 100 % |
Tests | 11 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
62 | 3 | View Code Duplication | public function unserialize($str) |
63 | { |
||
64 | list( |
||
65 | 3 | $this->name, |
|
66 | 3 | $this->methodMetadata, |
|
67 | 3 | $this->propertyMetadata, |
|
68 | 3 | $this->fileResources, |
|
69 | 3 | $this->createdAt, |
|
70 | 3 | $this->annotations, |
|
71 | 3 | $this->id, |
|
72 | 3 | $this->associations |
|
73 | 3 | ) = unserialize($str); |
|
74 | |||
75 | 3 | $this->reflection = new \ReflectionClass($this->name); |
|
76 | 3 | } |
|
78 |