Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | final class NovaCreateServicesResult |
||
9 | { |
||
10 | use NovaMessageTrait; |
||
11 | |||
12 | /** |
||
13 | * Services. |
||
14 | * |
||
15 | * @var NovaServiceItem[] |
||
16 | */ |
||
17 | private $services = []; |
||
18 | |||
19 | /** |
||
20 | * Add service. |
||
21 | * |
||
22 | * @param NovaServiceItem $novaService The nova service |
||
23 | * |
||
24 | * @return void |
||
25 | */ |
||
26 | 1 | public function addService(NovaServiceItem $novaService) |
|
29 | 1 | } |
|
30 | |||
31 | /** |
||
32 | * Get services. |
||
33 | * |
||
34 | * @return array|NovaServiceItem[] The items |
||
35 | */ |
||
36 | 1 | public function getServices(): array |
|
41 |