*/ public function toArray($request): array { return [ 'type' => 'playlist_folders', 'id' => $this->folder->id, 'name' => $this->folder->name, 'user_id' => $this->folder->user_id, 'created_at' => $this->folder->created_at, ]; } }