| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 39 | 2 | public function parse(array $data) |
|
| 40 | { |
||
| 41 | 2 | $this->id = (int)$data['id']; |
|
| 42 | 2 | $this->applicationId = (int)$data['application_id']; |
|
| 43 | 2 | $this->key = (string)$data['key']; |
|
| 44 | 2 | $this->section = (string)$data['section']; |
|
| 45 | 2 | $this->locale = (string)$data['locale']; |
|
| 46 | 2 | $this->value = (string)$data['value']; |
|
| 47 | 2 | $this->canDelete = (string)$data['can_delete']; |
|
| 48 | 2 | } |
|
| 67 | } |