This is mainly used when multiple files were uploaded and saved as 'files[0]', 'files[1]',
'files[n]'..., and you can retrieve them all by passing 'files' as the name.
public static getInstancesByName ( string $name ) : |
||
$name | string | the name of the array of files |
return | the array of UploadedFile objects. Empty array is returned if no adequate upload was found. Please note that this array will contain all files from all sub-arrays regardless how deeply nested they are. |