mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-28 07:06:54 +02:00
30 lines
690 B
PHP
30 lines
690 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\GraphQL\Schema\Queries\Models\Pagination\Wiki;
|
|
|
|
use App\GraphQL\Schema\Queries\Models\Pagination\EloquentPaginationQuery;
|
|
use App\GraphQL\Schema\Types\Wiki\ExternalResourceType;
|
|
|
|
class ExternalResourcePaginationQuery extends EloquentPaginationQuery
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct('externalresourcePagination');
|
|
}
|
|
|
|
public function description(): string
|
|
{
|
|
return 'Returns a listing of resources given fields.';
|
|
}
|
|
|
|
/**
|
|
* The base return type of the query.
|
|
*/
|
|
public function baseType(): ExternalResourceType
|
|
{
|
|
return new ExternalResourceType();
|
|
}
|
|
}
|