| Total Complexity | 4 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | trait ApieAwareTrait |
||
| 10 | { |
||
| 11 | private $apie; |
||
| 12 | |||
| 13 | public function setApie(Apie $apie) |
||
| 14 | { |
||
| 15 | if ($this->apie) { |
||
| 16 | throw new BadConfigurationException('setApie should only be called once'); |
||
| 17 | } |
||
| 18 | $this->apie = $apie; |
||
| 19 | return $this; |
||
| 20 | } |
||
| 21 | |||
| 22 | protected function getApie(): Apie |
||
| 28 | } |
||
| 29 | } |
||
| 30 |