| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace FlatPlan\Components; |
||
| 36 | public function getComponent() |
||
| 37 | { |
||
| 38 | $component = new \stdClass(); |
||
| 39 | $component->role = $this->getRole(); |
||
| 40 | $component->bannerType = $this->getBannerType(); |
||
| 41 | $component->layout = $this->getLayout(); |
||
| 42 | $component->style = $this->getStyle(); |
||
| 43 | if (!is_null($this->behaviour)) { |
||
| 44 | $component->behaviour = $this->getBehaviour(); |
||
| 45 | } |
||
| 46 | return $component; |
||
| 47 | } |
||
| 49 |