Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
28 | 1 | public function unserialize($str) |
|
29 | { |
||
30 | list( |
||
31 | 1 | $this->name, |
|
32 | 1 | $this->methodMetadata, |
|
33 | 1 | $this->propertyMetadata, |
|
34 | 1 | $this->fileResources, |
|
35 | 1 | $this->createdAt, |
|
36 | 1 | $this->annotations |
|
37 | 1 | ) = unserialize($str); |
|
38 | |||
39 | 1 | $this->reflection = new \ReflectionClass($this->name); |
|
40 | 1 | } |
|
42 |