public function getHistory($component = null) { $this->historyRepository->getLatestForStationAndComponent($this, $component); }