22 lines
461 B
PHP
22 lines
461 B
PHP
<?php
|
|
|
|
namespace Modules\Mailgateway\Components;
|
|
|
|
use App\Mailgateway\Models\Mailgateway;
|
|
use Livewire\Component;
|
|
use Modules\Mailgateway\MailgatewaySettings;
|
|
|
|
class SettingView extends Component
|
|
{
|
|
public string $settingClass = MailgatewaySettings::class;
|
|
|
|
public $listeners = ['refresh' => '$refresh'];
|
|
|
|
public function render()
|
|
{
|
|
return view('mailgateway::setting-view', [
|
|
'data' => Mailgateway::get(),
|
|
]);
|
|
}
|
|
}
|