| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Modal extends Component |
||
| 8 | { |
||
| 9 | public $title = ''; |
||
| 10 | public $id = ''; |
||
| 11 | /** |
||
| 12 | * Create a new component instance. |
||
| 13 | * |
||
| 14 | * @return void |
||
| 15 | */ |
||
| 16 | public function __construct($title, $id = '') |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Get the view / contents that represent the component. |
||
| 24 | * |
||
| 25 | * @return \Illuminate\Contracts\View\View|\Closure|string |
||
| 26 | */ |
||
| 27 | public function render() |
||
| 28 | { |
||
| 29 | return view('components.modal'); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getModalIdString(): string |
||
| 39 | } |
||
| 40 | } |
||
| 41 |