Symfony\Component\HttpKernel\Client::filterFiles
Filters an array of files.
This method created test instances of UploadedFile so that the move() method can be called on those instances. If the size of a file is greater than the allowed size (from php.ini) then an invalid UploadedFile is returned with an error set to UPLOAD_ERR_INI_SIZE.
Signature
protected function filterFiles(array
$files )
Parameters
$files
— array- An array of files
Returns
- array
- An array with all uploaded files marked as already moved