Files
firefly-iii/app/View/Components/Elements/CardFooterWithMenu.php
T

33 lines
680 B
PHP
Raw Normal View History

2026-06-16 06:32:24 +02:00
<?php
declare(strict_types=1);
2026-06-16 06:32:24 +02:00
namespace FireflyIII\View\Components\Elements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class CardFooterWithMenu extends Component
{
public string $route;
public string $linkTitle;
2026-06-16 06:32:24 +02:00
/**
* Create a new component instance.
*/
public function __construct(string $route, string $linkTitle)
2026-06-16 06:32:24 +02:00
{
$this->route = $route;
2026-06-16 06:32:24 +02:00
$this->linkTitle = $linkTitle;
}
/**
* Get the view / contents that represent the component.
*/
public function render(): Closure|string|View
2026-06-16 06:32:24 +02:00
{
return view('components.elements.card-footer-with-menu');
}
}