mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-17 15:52:15 +00:00
backend notifications implementation
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
namespace Domain\Notifications\Resources;
|
||||
|
||||
use Illuminate\Http\Resources\Json\ResourceCollection;
|
||||
|
||||
class NotificationCollection extends ResourceCollection
|
||||
{
|
||||
public $collects = NotificationResource::class;
|
||||
|
||||
public function toArray($request): array
|
||||
{
|
||||
return [
|
||||
'data' => $this->collection,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user