31 lines
585 B
PHP
31 lines
585 B
PHP
<?php
|
|
|
|
namespace App\Mailgateway;
|
|
|
|
use App\Mailgateway\Models\Mailgateway;
|
|
use App\Mailgateway\Resources\MailgatewayResource;
|
|
use App\Setting\LocalSettings;
|
|
|
|
class MailgatewaySettings extends LocalSettings
|
|
{
|
|
public static function group(): string
|
|
{
|
|
return 'mailgateway';
|
|
}
|
|
|
|
public static function title(): string
|
|
{
|
|
return 'E-Mail-Verbindungen';
|
|
}
|
|
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
public function viewData(): array
|
|
{
|
|
return [
|
|
'data' => MailgatewayResource::collection(Mailgateway::paginate(10)),
|
|
];
|
|
}
|
|
}
|