mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-20 21:21:13 +00:00
21 lines
330 B
PHP
21 lines
330 B
PHP
<?php
|
|
|
|
namespace App\Livewire;
|
|
|
|
use Livewire\Component;
|
|
|
|
abstract class BaseComponent extends Component
|
|
{
|
|
public $parameters = [];
|
|
|
|
public function boot()
|
|
{
|
|
$this->parameters = $this->getRouteParameters();
|
|
}
|
|
|
|
protected function getRouteParameters()
|
|
{
|
|
return get_route_parameters();
|
|
}
|
|
}
|