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

33 lines
602 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.
*/
class FeatureValueField extends StringField
{
/**
* Create a new field instance.
*/
public function __construct()
{
parent::__construct(Feature::ATTRIBUTE_VALUE, nullable: false);
}
/**
* The description of the field.
*
* @return string
*/
public function description(): string
{
return 'The value of the resource';
}
}