File manager - Edit - /var/www/html/portalHomolog/app/View/Composers/SeiAlertaComposer.php
Back
<?php namespace App\View\Composers; use App\Http\Resources\Sei\SeiAlertaResource; use Illuminate\View\View; class SeiAlertaComposer { public function __construct( private readonly SeiAlertaResource $resource, ) { } public function compose(View $view): void { $alerta = $this->resource->alertaVisivelNoPortal(); $conteudoBanner = $this->resource->conteudoParaExibicao($alerta); $view->with([ 'seiAlertaVisivel' => $alerta, 'seiAlertaConteudo' => $conteudoBanner, ]); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings