Conditions | 3 |
Paths | 3 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace FlatPlan\Components; |
||
36 | public function updateStyles($role) |
||
37 | { |
||
38 | $this->layout = $role . ucfirst($this->layout); |
||
39 | $this->style = $role . ucfirst($this->style); |
||
40 | $this->textStyle = $role . ucfirst($this->textStyle); |
||
41 | |||
42 | if (isset($this->components)) { |
||
43 | foreach ($this->components as $component) { |
||
44 | $component->updateStyles($role); |
||
45 | } |
||
54 |