2025-01-13 11:03:03 +00:00
|
|
|
<?php
|
|
|
|
|
|
2025-08-03 20:22:16 +00:00
|
|
|
namespace App\View\Components\Services;
|
2025-01-13 11:03:03 +00:00
|
|
|
|
2025-01-14 11:40:08 +00:00
|
|
|
use App\Models\Service;
|
2025-01-13 11:03:03 +00:00
|
|
|
use Closure;
|
|
|
|
|
use Illuminate\Contracts\View\View;
|
|
|
|
|
use Illuminate\View\Component;
|
|
|
|
|
|
2025-08-03 20:22:16 +00:00
|
|
|
class Advanced extends Component
|
2025-01-13 11:03:03 +00:00
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Create a new component instance.
|
|
|
|
|
*/
|
2025-01-14 11:40:08 +00:00
|
|
|
public function __construct(
|
|
|
|
|
public ?Service $service = null
|
|
|
|
|
) {}
|
2025-01-13 11:03:03 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the view / contents that represent the component.
|
|
|
|
|
*/
|
|
|
|
|
public function render(): View|Closure|string
|
|
|
|
|
{
|
|
|
|
|
return view('components.services.advanced');
|
|
|
|
|
}
|
|
|
|
|
}
|