Files
animethemes-server/app/GraphQL/Definition/Fields/User/Notification/NotificationData/NotificationDataImageField.php
T

32 lines
598 B
PHP

<?php
declare(strict_types=1);
namespace App\GraphQL\Definition\Fields\User\Notification\NotificationData;
use App\GraphQL\Definition\Fields\StringField;
/**
* Class NotificationDataImageField.
*/
class NotificationDataImageField extends StringField
{
/**
* Create a new field instance.
*/
public function __construct()
{
parent::__construct('image');
}
/**
* The description of the field.
*
* @return string
*/
public function description(): string
{
return 'The image URL to display with the notification';
}
}