mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-10-24 11:39:21 +02:00
33 lines
615 B
PHP
33 lines
615 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\GraphQL\Definition\Fields\Wiki\Video;
|
|
|
|
use App\GraphQL\Definition\Fields\BooleanField;
|
|
use App\Models\Wiki\Video;
|
|
|
|
/**
|
|
* Class VideoSubbedField.
|
|
*/
|
|
class VideoSubbedField extends BooleanField
|
|
{
|
|
/**
|
|
* Create a new field instance.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct(Video::ATTRIBUTE_SUBBED, nullable: false);
|
|
}
|
|
|
|
/**
|
|
* The description of the field.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function description(): string
|
|
{
|
|
return 'Does the video include subtitles of dialogue?';
|
|
}
|
|
}
|