| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace FlatPlan\Components; |
||
| 29 | public function getComponent() |
||
| 30 | { |
||
| 31 | $component = new \stdClass(); |
||
| 32 | $component->role = $this->getRole(); |
||
| 33 | $component->data = $this->getData(); |
||
| 34 | $component->layout = $this->getLayout(); |
||
| 35 | $component->style = $this->getStyle(); |
||
| 36 | $component->textStyle = $this->getTextStyle(); |
||
| 37 | if (!is_null($this->behaviour)) { |
||
| 38 | $component->behaviour = $this->getBehaviour(); |
||
| 39 | } |
||
| 40 | return $component; |
||
| 41 | } |
||
| 43 |