1 | <?php |
||
5 | final class SeaFood |
||
6 | { |
||
7 | private $seafood_id; |
||
8 | private $name; |
||
9 | private $kg_bought; |
||
10 | |||
11 | public function __construct(int $seafood_id, string $name, float $kg_bought) |
||
17 | |||
18 | public function getSeafoodId(): int |
||
22 | |||
23 | public function getName(): string |
||
27 | |||
28 | public function getKgBought(): float |
||
32 | } |
||
33 |