original_string: public static function fromTempData(array $aFile)
      {
          $xFile = new UploadedFile();
          $xFile->sType = $aFile['type'];
          $xFile->sName = $aFile['name'];
          $xFile->sFilename = $aFile['filename'];
          $xFile->sExtension = $aFile['extension'];
          $xFile->sSize = $aFile['size'];
          $xFile->sPath = $aFile['path'];
          return $xFile;
      }
code: public static function fromTempData(array $aFile)
      {
          $xFile = new UploadedFile();
          $xFile->sType = $aFile['type'];
          $xFile->sName = $aFile['name'];
          $xFile->sFilename = $aFile['filename'];
          $xFile->sExtension = $aFile['extension'];
          $xFile->sSize = $aFile['size'];
          $xFile->sPath = $aFile['path'];
          return $xFile;
      }
code_tokens: public static function fromTempData ( array $ aFile ) { $ xFile = new UploadedFile ( ) ; $ xFile -> sType = $ aFile [ 'type' ] ; $ xFile -> sName = $ aFile [ 'name' ] ; $ xFile -> sFilename = $ aFile [ 'filename' ] ; $ xFile -> sExtension = $ aFile [ 'extension' ] ; $ xFile -> sSize = $ aFile [ 'size' ] ; $ xFile -> sPath = $ aFile [ 'path' ] ; return $ xFile ; }
docstring: Create an instance of this class using data from an array.
  
  @param array         $aFile          The uploaded file data
  
  @return UploadedFile
docstring_tokens: Create an instance of this class using data from an array .