UploadedFile.php
protected function setTmpName($filepath)
    {
        $this->tmpName = (string) $filepath;

        $this->stream           = null;
        $this->_c_givenResource = $filepath; # stream will made of this when requested
        return $this;
    }
protected function setTmpName($filepath)
    {
        $this->tmpName = (string) $filepath;

        $this->stream           = null;
        $this->_c_givenResource = $filepath; # stream will made of this when requested
        return $this;
    }
protected function setTmpName ( $ filepath ) { $ this -> tmpName = ( string ) $ filepath ; $ this -> stream = null ; $ this -> _c_givenResource = $ filepath ; # stream will made of this when requested return $ this ; }
Set tmp_name of Uploaded File

@param string $filepath

@return $this
Set tmp_name of Uploaded File