original_string: public function file($name = null, $default = null)
      {
          $files = $this->request['files'];
  
          if (isset($name)) {
              return !empty($files[$name]['name']) ? $files[$name] : $default;
          }
  
          return $files;
      }
code: public function file($name = null, $default = null)
      {
          $files = $this->request['files'];
  
          if (isset($name)) {
              return !empty($files[$name]['name']) ? $files[$name] : $default;
          }
  
          return $files;
      }
code_tokens: public function file ( $ name = null , $ default = null ) { $ files = $ this -> request [ 'files' ] ; if ( isset ( $ name ) ) { return ! empty ( $ files [ $ name ] [ 'name' ] ) ? $ files [ $ name ] : $ default ; } return $ files ; }
docstring: Returns a data from FILES request
  @param string $name
  @param mixed $default
  @return mixed
docstring_tokens: Returns a data from FILES request