protected function setFiles(array $files)
    {
        foreach ($files as $associativeName => $details) {
            foreach ($details as $fileKey => $detail) {
                $this->files[$fileKey][$associativeName] = $detail;
            }
        }
    }
protected function setFiles(array $files)
    {
        foreach ($files as $associativeName => $details) {
            foreach ($details as $fileKey => $detail) {
                $this->files[$fileKey][$associativeName] = $detail;
            }
        }
    }
protected function setFiles ( array $ files ) { foreach ( $ files as $ associativeName => $ details ) { foreach ( $ details as $ fileKey => $ detail ) { $ this -> files [ $ fileKey ] [ $ associativeName ] = $ detail ; } } }
store the request files in a nice way
@param array $files
store the request files in a nice way