I can get the file object like this:
$request->files->get('file')
But i have to give my uploader php native file ($_FILES['file']).
Is there any way to get the native file from request object?
Symfony var_dump (xdebug html output):
<pre class='xdebug-var-dump' dir='ltr'>
<b>object</b>(<i>Symfony\Component\HttpFoundation\File\UploadedFile</i>)[<i>13</i>]
<i>private</i> 'test' <font color='#888a85'>=></font> <small>boolean</small> <font color='#75507b'>false</font>
<i>private</i> 'originalName' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'slide-3.jpg'</font> <i>(length=11)</i>
<i>private</i> 'mimeType' <font color='#888a85'>=></font> <small>string</small> <font color='#cc0000'>'image/jpeg'</font> <i>(length=10)</i>
<i>private</i> 'size' <font color='#888a85'>=></font> <small>int</small> <font color='#4e9a06'>147845</font>
<i>private</i> 'error' <font color='#888a85'>=></font> <small>int</small> <font color='#4e9a06'>0</font>
</pre>