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