✏️ 正在编辑: EstrategiaReprocessamentoController.php
路径:
/srv/systems_dir/yuppiecred/application/controllers/EstrategiaReprocessamentoController.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php use Doctrine\Common\Collections\ArrayCollection; use Modules\Callcenter\Form\Filtro\HistoricoFiltro; use Modules\Callcenter\Service\ReprocessamentoService; class EstrategiaReprocessamentoController extends Zend_Controller_Action { /** @var ReprocessamentoService */ private $service; public function init() { $this->service = new ReprocessamentoService(); $this->_helper->layout->setLayout('layout_callcenter'); } public function historicoAction() { $request = $this->getRequest(); try { $historicos = $this->service->historicoCampanhasResetadas($request); } catch (DomainException $domainException) { $this->_helper->flashMessenger(['error' => $domainException->getMessage()]); } catch (Throwable $throwable) { $this->_helper->flashMessenger(['error' => $this->service::ERRO]); } $this->view->historicos = $historicos ?? new ArrayCollection(); $this->view->form = new HistoricoFiltro($this->_request->getBaseUrl(), $request); } }
💾 保存文件
← 返回文件管理器