| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 71.43% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | abstract class StyleElement |
||
| 26 | { |
||
| 27 | /** @var Layout */ |
||
| 28 | protected $layout; |
||
| 29 | |||
| 30 | /** @var NameOptions */ |
||
| 31 | protected $nameOptions; |
||
| 32 | |||
| 33 | /** @var Root */ |
||
| 34 | protected $parent; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return Root |
||
| 38 | */ |
||
| 39 | public function getParent(): ?Root |
||
| 40 | { |
||
| 41 | return $this->parent; |
||
| 42 | } |
||
| 43 | |||
| 44 | 173 | public function setParent(Root $parent) |
|
| 47 | 173 | } |
|
| 48 | |||
| 49 | 173 | public function setLayout(?Layout $layout) |
|
| 52 | 173 | } |
|
| 53 | } |
||
| 54 |