| Conditions | 6 |
| Paths | 5 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function build(array $parameters) |
||
| 36 | { |
||
| 37 | parent::build($parameters); |
||
| 38 | |||
| 39 | foreach ($parameters as $property => $value) { |
||
| 40 | if ('droplet' === $property && \is_object($value)) { |
||
| 41 | $this->droplet = new Droplet($value); |
||
| 42 | } |
||
| 43 | |||
| 44 | if ('region' === $property && \is_object($value)) { |
||
| 45 | $this->region = new Region($value); |
||
| 46 | } |
||
| 47 | } |
||
| 48 | } |
||
| 49 | } |
||
| 50 |