| Conditions | 4 |
| Paths | 4 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 57 | public function build(array $parameters) |
||
| 58 | { |
||
| 59 | parent::build($parameters); |
||
| 60 | |||
| 61 | foreach ($parameters as $property => $value) { |
||
| 62 | switch ($property) { |
||
| 63 | case 'region': |
||
| 64 | if (is_object($value)) { |
||
| 65 | $this->region = new Region($value); |
||
| 66 | } |
||
| 67 | unset($parameters[$property]); |
||
| 68 | break; |
||
| 69 | } |
||
| 70 | } |
||
| 71 | } |
||
| 72 | |||
| 81 |