| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | trait DirectivesTrait |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @var DirectiveNode[] |
||
| 10 | */ |
||
| 11 | protected $directives; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @return DirectiveNode[] |
||
| 15 | */ |
||
| 16 | public function getDirectives(): array |
||
| 17 | { |
||
| 18 | return $this->directives; |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return array |
||
| 23 | */ |
||
| 24 | public function getDirectivesAsArray(): array |
||
| 28 | } |
||
| 29 | } |
||
| 30 |