Remove global

This commit is contained in:
Frederic Guillot
2016-01-16 22:03:59 -05:00
parent 47e4274579
commit 5a6cd48df1
2 changed files with 20 additions and 6 deletions

View File

@@ -156,6 +156,18 @@ class Request extends Base
return isset($this->files[$name]['tmp_name']) ? $this->files[$name]['tmp_name'] : '';
}
/**
* Get info of an uploaded file
*
* @access public
* @param string $name Form file name
* @return array
*/
public function getFileInfo($name)
{
return isset($this->files[$name]) ? $this->files[$name] : array();
}
/**
* Return HTTP method
*