| Conditions | 2 |
| Paths | 2 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 51 | 6 | public function fromArray(array $values) { |
|
| 52 | 6 | foreach ($values as $k => $v) { |
|
| 53 | 6 | $this->$k = $v; |
|
| 54 | } |
||
| 55 | 6 | $this->_fromArray = true; |
|
|
1 ignored issue
–
show
|
|||
| 56 | 6 | } |
|
| 83 |