| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 11 |
| Lines | 14 |
| Ratio | 100 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 70 | 3 | View Code Duplication | public function unserialize($str) |
| 71 | { |
||
| 72 | list( |
||
| 73 | 3 | $this->name, |
|
| 74 | 3 | $this->methodMetadata, |
|
| 75 | 3 | $this->propertyMetadata, |
|
| 76 | 3 | $this->fileResources, |
|
| 77 | 3 | $this->createdAt, |
|
| 78 | 3 | $this->annotations, |
|
| 79 | 3 | $this->id, |
|
| 80 | 3 | $this->associations |
|
| 81 | 3 | ) = unserialize($str); |
|
| 82 | |||
| 83 | 3 | $this->reflection = new ReflectionClass($this->name); |
|
| 84 | 3 | } |
|
| 86 |