*/ public function toArray(Request $request): array { return [ 'upload_token' => $this->upload_token, 'media_id' => $this->id, 'type' => $this->type, 'mime_type' => $this->mime_type, 'original_filename' => $this->original_filename, ]; } }