mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-29 07:36:54 +02:00
23 lines
529 B
PHP
23 lines
529 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\GraphQL\Schema\Fields\List\ExternalProfile;
|
|
|
|
use App\Enums\Models\List\ExternalProfileSite;
|
|
use App\GraphQL\Schema\Fields\EnumField;
|
|
use App\Models\List\ExternalProfile;
|
|
|
|
class ExternalProfileSiteField extends EnumField
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct(ExternalProfile::ATTRIBUTE_SITE, ExternalProfileSite::class, nullable: false);
|
|
}
|
|
|
|
public function description(): string
|
|
{
|
|
return 'The site the profile belongs to';
|
|
}
|
|
}
|