public function getHistory($component = null) { $this->historyRepository->getLatestForStationAndComponent($this, $component); }
protected function initializeRepository() { $this->repository = StationAqiHistoryRepository::getInstance(); }