public function getPdfHash(Timetable $timetable, $externalStopPointId) { $response = $this->getTimetableHtml(array('externalNetworkId' => $timetable->getLineConfig()->getSeason()->getPerimeter()->getExternalNetworkId(), 'seasonId' => $timetable->getLineConfig()->getSeason()->getId(), 'externalLineId' => $timetable->getLineConfig()->getExternalLineId(), 'externalStopPointId' => $externalStopPointId, 'externalRouteId' => $timetable->getExternalRouteId(), 'customerId' => $this->co->get('security.context')->getToken()->getUser()->getCustomer()->getId(), 'timetableOnly' => true)); $cssVersion = $timetable->getLineConfig()->getLayoutConfig()->getLayout()->getCssVersion(); return $this->hashingLib->getPdfHash($response, $cssVersion); }