Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | class Service |
||
18 | { |
||
19 | use SRegister, SDeregister, SEndpoints, SVersions; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | private $name = null; |
||
25 | |||
26 | /** |
||
27 | * Service constructor. |
||
28 | * @param string $name |
||
29 | */ |
||
30 | public function __construct(string $name) |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function id() : string |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | public function name() : string |
||
51 |