Files
animethemes-server/app/Http/Api/Field/User/Notification/NotificationDataField.php
T

18 lines
361 B
PHP

<?php
declare(strict_types=1);
namespace App\Http\Api\Field\User\Notification;
use App\Http\Api\Field\JsonField;
use App\Http\Api\Schema\Schema;
use App\Models\User\Notification;
class NotificationDataField extends JsonField
{
public function __construct(Schema $schema)
{
parent::__construct($schema, Notification::ATTRIBUTE_DATA);
}
}