sigd/app/View/Components/MitigationYearSelect.php

25 lines
497 B
PHP

<?php
namespace App\View\Components;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class MitigationYearSelect extends Component
{
public $selectedYear;
public $name;
public function __construct($selectedYear = null, $name = null)
{
$this->selectedYear = $selectedYear;
$this->name = $name;
}
public function render(): View|Closure|string
{
return view('modules.components.mitigation-year-select');
}
}