Files
firefly-iii/app/View/Components/Dashboard/Boxes.php
T

30 lines
562 B
PHP
Raw Normal View History

2026-05-24 18:44:29 +02:00
<?php
declare(strict_types=1);
2026-05-24 18:44:29 +02:00
namespace FireflyIII\View\Components\Dashboard;
use Carbon\Carbon;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Boxes extends Component
{
/**
* Create a new component instance.
*/
public function __construct(
public Carbon $start,
public Carbon $end
) {}
2026-05-24 18:44:29 +02:00
/**
* Get the view / contents that represent the component.
*/
public function render(): Closure|string|View
2026-05-24 18:44:29 +02:00
{
return view('components.dashboard.boxes');
}
}