mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-30 08:06:55 +02:00
32 lines
598 B
PHP
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';
|
|
}
|
|
}
|