mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-07 21:23:11 +02:00
22 lines
434 B
PHP
22 lines
434 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\GraphQL\Schema\Fields\Auth\Role;
|
|
|
|
use App\GraphQL\Schema\Fields\StringField;
|
|
use App\Models\Auth\Role;
|
|
|
|
class RoleDefaultField extends StringField
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct(Role::ATTRIBUTE_DEFAULT, nullable: false);
|
|
}
|
|
|
|
public function description(): string
|
|
{
|
|
return 'Is the role assigned on account verification?';
|
|
}
|
|
}
|