/
dimamir
/
coolify
Обзор
Документация
Войти
/
dimamir
/
coolify
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
app/View/Components/Status/Services.php
30 строк
661 B
Andras Bacsai
fix: resources
17 фев 2024, 00:15
17 фев 2024, 00:15
f8c8676
Код
Авторство
О чём код?
<?php namespace App\View\Components\Status; use App\Models\Service; use Closure; use Illuminate\Contracts\View\View; use Illuminate\View\Component; class Services extends Component { /** * Create a new component instance. */ public function __construct( public Service $service, public string $complexStatus = 'exited', public bool $showRefreshButton = true ) { $this->complexStatus = $service->status(); } /** * Get the view / contents that represent the component. */ public function render(): View|Closure|string { return view('components.status.services'); } }