Files
animethemes-server/app/GraphQL/Definition/Fields/Admin/Feature/FeatureValueField.php
T

25 lines
485 B
PHP

<?php
declare(strict_types=1);
namespace App\GraphQL\Definition\Fields\Admin\Feature;
use App\GraphQL\Definition\Fields\StringField;
use App\Models\Admin\Feature;
class FeatureValueField extends StringField
{
public function __construct()
{
parent::__construct(Feature::ATTRIBUTE_VALUE, nullable: false);
}
/**
* The description of the field.
*/
public function description(): string
{
return 'The value of the resource';
}
}