1 | <?php |
||
5 | class FixedCost |
||
6 | { |
||
7 | private $cost_id; |
||
8 | private $name; |
||
9 | private $cost; |
||
10 | |||
11 | public function __construct(int $cost_id, string $name, float $cost) |
||
17 | |||
18 | /** |
||
19 | * @return mixed |
||
20 | */ |
||
21 | public function getCostId(): int |
||
25 | |||
26 | /** |
||
27 | * @return mixed |
||
28 | */ |
||
29 | public function getName(): string |
||
33 | |||
34 | /** |
||
35 | * @return mixed |
||
36 | */ |
||
37 | public function getCost(): float |
||
41 | |||
42 | |||
43 | } |
||
44 |