Files

35 lines
721 B
PHP
Raw Permalink Normal View History

2026-06-15 15:38:12 +02:00
<?php
declare(strict_types=1);
2026-06-15 15:38:12 +02:00
namespace FireflyIII\View\Components;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class EmptyPage extends Component
{
public string $route;
public string $objectType;
public string $type;
2026-06-15 15:38:12 +02:00
/**
* Create a new component instance.
*/
public function __construct(string $route, string $objectType, string $type)
{
$this->route = $route;
2026-06-15 15:38:12 +02:00
$this->objectType = $objectType;
$this->type = $type;
2026-06-15 15:38:12 +02:00
}
/**
* Get the view / contents that represent the component.
*/
public function render(): Closure|string|View
2026-06-15 15:38:12 +02:00
{
return view('components.empty-page');
}
}