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