1 | <?php |
||
15 | abstract class StatisticsRequest extends AbstractMessage |
||
16 | { |
||
17 | |||
18 | const TIME_INTERVAL_ALL_TIME = 'allTime'; |
||
19 | const TIME_INTERVAL_LAST_MONTH = 'lastMonth'; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | private $_instanceName; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $_timeInterval; |
||
30 | |||
31 | |||
32 | /** |
||
33 | * StatisticsRequest constructor. |
||
34 | * |
||
35 | * @param string $type |
||
36 | * @param mixed $parameters |
||
37 | */ |
||
38 | public function __construct($type, $parameters) |
||
53 | |||
54 | |||
55 | /** |
||
56 | * @return string |
||
57 | */ |
||
58 | public function getInstanceName() |
||
62 | |||
63 | |||
64 | /** |
||
65 | * @return string |
||
66 | */ |
||
67 | public function getTimeInterval() |
||
71 | |||
72 | } |
||
73 |