Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
phosphorylation
/
tecas-solar.ma
/
vendor
/
filament
/
notifications
/
src
:
Collection.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Filament\Notifications; use Illuminate\Support\Collection as BaseCollection; use Livewire\Wireable; class Collection extends BaseCollection implements Wireable { /** * @param array<array<string, mixed>> $items */ final public function __construct($items = []) { parent::__construct($items); } /** * @return array<array<string, mixed>> */ public function toLivewire(): array { return $this->toArray(); } /** * @param array<array<string, mixed>> $value */ public static function fromLivewire($value): static { return app(static::class, ['items' => $value])->transform( fn (array $notification): Notification => Notification::fromArray($notification), ); } }