title: Error = Method Illuminate\Http\UploadedFile::save does not exist
body: <p>I can't add images to the database. I am always getting this error.</p>
  
  <pre><code>    $this-&gt;validate($request, [
          'imageName' =&gt; 'required',
          'imagePath' =&gt; 'required',
      ]);
      $image-&gt;productId = $request-&gt;input('productId');
      $image-&gt;imageName = $request-&gt;input('imageName');
  
      if (request()-&gt;hasFile('imagePath')){
          $image = $request-&gt;file('imagePath');
          $imageName = time() . '.' . $image-&gt;getClientOriginalExtension();
          $destinationPath = public_path('/images/productImages/');
          $image-&gt;move($destinationPath, $imageName);
          $image-&gt;imagePath = $destinationPath . $imageName;
      }
      $image-&gt;imageCode = $request-&gt;input('imageCode');
      $image-&gt;save(); // error line
  
      return redirect()-&gt;route('image.index');
  </code></pre>
  
  <p>Thank you for your help</p>