| 1 | <?php |
||
| 15 | class HistoryApiController extends ApiGuardController |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | protected $apiMethods = [ |
||
| 22 | 'getHistoryWithSymbol' =>[ |
||
| 23 | 'keyAuthentication' => true |
||
| 24 | ], |
||
| 25 | 'getHistoryOnlyDatesAndValues'=>[ |
||
| 26 | 'keyAuthentication' => true |
||
| 27 | ] |
||
| 28 | ]; |
||
| 29 | |||
| 30 | |||
| 31 | /** |
||
| 32 | * @param Request $request |
||
| 33 | * @return array|static[] |
||
| 34 | */ |
||
| 35 | public function getHistoryWithSymbol(Request $request) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @param Request $request |
||
| 48 | * @return array|static[] |
||
| 49 | */ |
||
| 50 | public function getHistoryOnlyDatesAndValues(Request $request) |
||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | } |
||
| 65 |