ok
Direktori : /home2/selectio/public_html/fms-worksuite/app/View/Components/ |
Current File : /home2/selectio/public_html/fms-worksuite/app/View/Components/CronMessage.php |
<?php namespace App\View\Components; use App\Models\GlobalSetting; use Illuminate\View\Component; class CronMessage extends Component { /** * @var false|mixed */ private mixed $modal; public function __construct($modal = false) { $this->modal = $modal; } /** * Get the view / contents that represent the component. * * @return \Illuminate\Contracts\View\View|string */ public function render() { $globalSetting = GlobalSetting::first(); $modal = $this->modal; return view('components.cron-message', compact('globalSetting', 'modal')); } }