adrema/app/Fileshare/FileshareSettings.php

29 lines
520 B
PHP

<?php
namespace App\Fileshare;
use App\Fileshare\Models\Fileshare;
use App\Fileshare\Resources\FileshareResource;
use App\Setting\LocalSettings;
class FileshareSettings extends LocalSettings
{
public static function group(): string
{
return 'fileshare';
}
public static function title(): string
{
return 'Datei-Verbindungen';
}
/**
* @inheritdoc
*/
public function data()
{
return FileshareResource::collection(Fileshare::paginate(15));
}
}