/** * Returns the GET response * * @return array|\PSX\Record\RecordInterface */ protected function doGet() { return $this->routesService->get((int) $this->getUriFragment('route_id')); }