title: Laravel convert one model instance to collection
body: <p>I'm using Laravel 5.3 and I'm trying to remove files from a user within a job::</p>
  
  <pre><code>public function handle()
  {
      //Remove all files from a message
      $this-&gt;files-&gt;map(function($file) {
          $path = $file-&gt;getPath();
  
          if(Storage::disk('s3')-&gt;exists($path))
          {
              Storage::disk('s3')-&gt;delete($path);
              if(!Storage::disk('s3')-&gt;exists($path))
              {
                  $attachment = File::find($file-&gt;id);
                  $attachment-&gt;delete();
              }
          }
      });
  }
  </code></pre>
  
  <p>So this is working for <code>collections</code>. But how do I get this to work when I pass <code>one</code> model instance? </p>