| 1 | <?php |
||
| 16 | abstract class StatisticsRequest extends AbstractMessage |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $_instanceName; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var TimeFrame |
||
| 26 | */ |
||
| 27 | private $_timeFrame; |
||
| 28 | |||
| 29 | |||
| 30 | /** |
||
| 31 | * StatisticsRequest constructor. |
||
| 32 | * |
||
| 33 | * @param string $type |
||
| 34 | * @param \stdClass $parameters |
||
| 35 | * |
||
| 36 | * @throws MalformedRequestException |
||
| 37 | */ |
||
| 38 | 2 | public function __construct($type, $parameters) |
|
| 53 | |||
| 54 | |||
| 55 | /** |
||
| 56 | * @return string |
||
| 57 | */ |
||
| 58 | public function getInstanceName() |
||
| 59 | { |
||
| 60 | return $this->_instanceName; |
||
| 61 | } |
||
| 62 | |||
| 63 | |||
| 64 | /** |
||
| 65 | * @return TimeFrame |
||
| 66 | */ |
||
| 67 | 1 | public function getTimeFrame() |
|
| 71 | |||
| 72 | } |
||
| 73 |