Files
animethemes-server/app/GraphQL/Schema/Fields/Wiki/Video/VideoPathField.php
T
2025-09-03 04:57:13 -03:00

22 lines
418 B
PHP

<?php
declare(strict_types=1);
namespace App\GraphQL\Schema\Fields\Wiki\Video;
use App\GraphQL\Schema\Fields\StringField;
use App\Models\Wiki\Video;
class VideoPathField extends StringField
{
public function __construct()
{
parent::__construct(Video::ATTRIBUTE_PATH, nullable: false);
}
public function description(): string
{
return 'The path of the file in storage';
}
}