| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | trait InterfacesAwareTrait |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var string[] |
||
| 20 | */ |
||
| 21 | protected $interfaces = []; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return string[] |
||
| 25 | */ |
||
| 26 | 1 | public function getInterfaces(): array |
|
| 27 | { |
||
| 28 | 1 | return $this->interfaces; |
|
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $name |
||
| 33 | */ |
||
| 34 | 1 | public function addInterface(string $name) |
|
| 37 | 1 | } |
|
| 38 | } |
||
| 39 |