title: Symfony $request->file->all() doesn't have all the attachments?
body: <p>I have an angularjs application that adds attachments to a formData and sends it to my symfony controller. To get the uploads and to loop over the multiple uploads from the post, i'm using: </p>
  
  <p>$request->files->all();</p>
  
  <p>and tried:</p>
  
  <p>$request->files;</p>
  
  <p>When i loop over the attachments, symfony is only returning 1 upload? When I check the payload from my Angular app, it shows 2+ files being sent? Shouldn't both of the files be in the Symfony filebag? The API documents show that it should be an array of the files.</p>
  
  <p>Here is a test controller i have been using to try and display the names of the files being uploaded. So far it only shows the last file uploaded.</p>
  
  <pre><code>public function saveAttachment(Request $request) {
      $files = $request-&gt;files-&gt;all();
      foreach ($files as $file) {
          echo $file-&gt;getClientOriginalName();
          echo "&lt;br&gt;";
      }
      exit;
  }
  </code></pre>
  
  <p>I'm not using Symfony forms to generate my HTML, it is separate from the Symfony app.</p>