public function saveFromStream(mixed $stream, array $options): Media 	{ 		$media = $this->model->addMediaFromStream($stream);  		if ($options['name'] ?? null) { 			$media = $media->usingFileName($options['name'])->usingName(pathinfo($options['name'], PATHINFO_FILENAME)); 		}  		return $media->toMediaCollection($options['collection']); 	}