private function parseAndStorePlace($placeId, $date = null) { if (is_null($date)) { $date = time(); } $data = self::parsePlace($placeId, $date); if (count($data) > 0) { $this->mealMenuService->store($placeId, $date, $data); } }
public function renderDefault() { dump($this->mealMenu->sinceDate(1, null, 14)); $this->template->anyVariable = 'any value'; }