title: Access $_FILE['tmp_name'] from the UploadedFile class?
body: <p>if I print the content of an instance of UploadedFile, this is what I get</p>
  
  <pre><code>array (
    'opt_image_header' =&gt; 
       Symfony\Component\HttpFoundation\File\UploadedFile::__set_state(array(
         'test' =&gt; false,
         'originalName' =&gt; 'triangle-in-the-mountains.jpg',
         'mimeType' =&gt; 'image/jpeg',
         'size' =&gt; 463833,
         'error' =&gt; 0,
  )
  </code></pre>
  
  <p>And this is how I get the uploaded file in the Controller. Before of moving it, I should resize it.</p>
  
  <pre><code>  foreach($request-&gt;files as $uploadedFile){
  
        $ext = '.' . $uploadedFile['opt_image_header']-&gt;guessExtension();
        $filename = sha1(uniqid(mt_rand(), true)) . $ext;
  
        $uploadedFile['opt_image_header']-&gt;move($path . '/images/', $filename);
  
    }
  </code></pre>
  
  <p>so there's no the "tmp_name" that I'd need for resizing the image before of saving it.</p>
  
  <p>Do I need to read it directly from the $_FILE array?</p>