vito/app/View/Components/ServerLayout.php
Saeed Vaziry e031bafba5
upgrade to Laravel 11 and schema squash (#245)
* upgrade to Laravel 11 and schema squash

* code style and npm audit fix

* fix #209
2024-06-24 23:03:02 +02:00

18 lines
316 B
PHP

<?php
namespace App\View\Components;
use App\Models\Server;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class ServerLayout extends Component
{
public function __construct(public Server $server) {}
public function render(): View
{
return view('layouts.server');
}
}