29 lines
539 B
PHP
29 lines
539 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 data()
|
|
{
|
|
return MailgatewayResource::collection(Mailgateway::paginate(10));
|
|
}
|
|
}
|