Files
animethemes-server/app/GraphQL/Definition/Fields/Wiki/Video/VideoScript/VideoScriptLinkField.php
T

32 lines
585 B
PHP

<?php
declare(strict_types=1);
namespace App\GraphQL\Definition\Fields\Wiki\Video\VideoScript;
use App\GraphQL\Definition\Fields\StringField;
/**
* Class VideoScriptLinkField.
*/
class VideoScriptLinkField extends StringField
{
/**
* Create a new field instance.
*/
public function __construct()
{
parent::__construct('link', nullable: false);
}
/**
* The description of the field.
*
* @return string
*/
public function description(): string
{
return 'The URL to download the file from storage';
}
}