mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-20 19:38:02 +02:00
21 lines
454 B
PHP
21 lines
454 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\GraphQL\Support\Argument;
|
|
|
|
use App\Enums\GraphQL\TrashedFilter;
|
|
use Rebing\GraphQL\Support\Facades\GraphQL;
|
|
|
|
class TrashedArgument extends Argument
|
|
{
|
|
final public const string ARGUMENT = 'trashed';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct(self::ARGUMENT, GraphQL::type(class_basename(TrashedFilter::class)));
|
|
|
|
$this->withDefaultValue(TrashedFilter::WITHOUT);
|
|
}
|
|
}
|