34 lines
612 B
PHP
34 lines
612 B
PHP
<?php
|
|
|
|
namespace App\Mailgateway;
|
|
|
|
use Modules\Mailgateway\Models\Mailgateway;
|
|
use App\Mailgateway\Resources\MailgatewayResource;
|
|
use App\Setting\LocalSettings;
|
|
|
|
/**
|
|
* @deprecated
|
|
*/
|
|
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)),
|
|
];
|
|
}
|
|
}
|