param; } protected function run(Request $request): Response { $param = $this->param; // 投函日の登録 $today = DateUtil::now(); $this->updateManager->initById($param->id) ->mailPosted($today) ->update(); return $this->pdfManager->initById($param->id)->downlaodLetter(); } }