title: Laravel return UploadedFile object instead of image path
body: <p>In my <code>update</code> method in the controller when i try to <code>dump</code> the requested data
  all attributes comes fine but the <code>image</code> printed as <code>object</code> not the <code>imagePath</code> that is saved in the database</p>
  
  <p><a href="https://i.stack.imgur.com/s8RAg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s8RAg.png" alt="enter image description here"></a></p>
  
  <p>Update method</p>
  
  <pre><code>    public function update(Request $request, SlideShow $slideshow)
      {
          $slideshow-&gt;update($request-&gt;validate([
              'title_en' =&gt; 'required',
              'title_ar' =&gt; 'required',
              'link' =&gt; 'nullable|url',
              'image' =&gt; 'image'
          ]));
  
          dd($slideshow);
          $slideshow-&gt;uploadImage();
  
          session()-&gt;flash('success', __('dashboard.slideshow.edit_success'));
          return redirect()-&gt;route('admin.slideshow.index');
      }
  </code></pre>
  
  <p><code>SlideShow</code> model</p>
  
  <pre><code>class SlideShow extends Model
  {
  
      protected $fillable = ['title_en', 'title_ar', 'link', 'image'];
  
      public function uploadImage($imageName = 'image')
      {
          if(request()-&gt;has($imageName)){
  
              \Storage::delete($this-&gt;image);
  
              $uploadedImage = request()-&gt;$imageName-&gt;store('slideshow/');
  
              \Image::make('storage/'.$uploadedImage)-&gt;resize(870, null, function ($constraint) {
                  $constraint-&gt;aspectRatio();
              })-&gt;save();
  
              $this-&gt;update(['image' =&gt; $uploadedImage]);
          }
      }
  
      public static function search($request)
      {
          return  static::where(lang('title'), 'like', '%' . $request-&gt;search . '%')-&gt;paginate(10);
      }
  }
  </code></pre>