1 | <?php |
||
10 | class StatisticsValueObject |
||
11 | { |
||
12 | /** |
||
13 | * @var int |
||
14 | */ |
||
15 | private $id; |
||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $name; |
||
20 | /** |
||
21 | * @var StatisticsValueObject[] |
||
22 | */ |
||
23 | private $subCategories; |
||
24 | /** |
||
25 | * @var StatisticValueObject[] |
||
26 | */ |
||
27 | private $statistics; |
||
28 | |||
29 | /** |
||
30 | * StatisticsValueObject constructor. |
||
31 | * @param int $id |
||
32 | * @param string $name |
||
33 | * @param StatisticsValueObject[] $subCategories |
||
34 | * @param StatisticValueObject[] $statistics |
||
35 | */ |
||
36 | public function __construct( |
||
47 | |||
48 | /** |
||
49 | * @return int |
||
50 | */ |
||
51 | public function getId() |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getName() |
||
63 | |||
64 | /** |
||
65 | * @return StatisticsValueObject[] |
||
66 | */ |
||
67 | public function getSubCategories() |
||
71 | |||
72 | /** |
||
73 | * @return StatisticValueObject[] |
||
74 | */ |
||
75 | public function getStatistics() |
||
79 | } |
||
80 |