1 | <?php |
||
19 | class Service implements ServiceInterface |
||
20 | { |
||
21 | /** @var int */ |
||
22 | protected $id; |
||
23 | |||
24 | /** @var string */ |
||
25 | protected $code; |
||
26 | |||
27 | /** @var MetadataInterface|null */ |
||
28 | protected $metadata; |
||
29 | |||
30 | public function getId(): int |
||
34 | |||
35 | public function getCode(): string |
||
39 | |||
40 | public function setCode(string $code): void |
||
44 | |||
45 | public function getMetadata(): ?MetadataInterface |
||
49 | |||
50 | public function setMetadata(?MetadataInterface $metadata): void |
||
54 | } |
||
55 |