mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-24 21:36:07 +02:00
22 lines
404 B
PHP
22 lines
404 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\GraphQL\Schema\Fields\Wiki\Video;
|
|
|
|
use App\GraphQL\Schema\Fields\IntField;
|
|
use App\Models\Wiki\Video;
|
|
|
|
class VideoSizeField extends IntField
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct(Video::ATTRIBUTE_SIZE);
|
|
}
|
|
|
|
public function description(): string
|
|
{
|
|
return 'The size of the file in storage in Bytes';
|
|
}
|
|
}
|