public function toTempData()
    {
        return [
            'type' => $this->sType,
            'name' => $this->sName,
            'filename' => $this->sFilename,
            'extension' => $this->sExtension,
            'size' => $this->sSize,
            'path' => $this->sPath,
        ];
    }
public function toTempData()
    {
        return [
            'type' => $this->sType,
            'name' => $this->sName,
            'filename' => $this->sFilename,
            'extension' => $this->sExtension,
            'size' => $this->sSize,
            'path' => $this->sPath,
        ];
    }
public function toTempData ( ) { return [ 'type' => $ this -> sType , 'name' => $ this -> sName , 'filename' => $ this -> sFilename , 'extension' => $ this -> sExtension , 'size' => $ this -> sSize , 'path' => $ this -> sPath , ] ; }
Convert the UploadedFile instance to array.

@return array
Convert the UploadedFile instance to array .