DeExternalAccountStatements->find(); $deExternalAccountStatements = $this->paginate($query); $this->set(compact('deExternalAccountStatements')); } /** * View method * * @param string|null $id De External Account Statement id. * @return Response|null|void Renders view * @throws RecordNotFoundException When record not found. */ public function view($id = null) { $deExternalAccountStatement = $this->DeExternalAccountStatements->get($id, contain: []); $this->set(compact('deExternalAccountStatement')); } }