lib/Http/FileUpload.php
public function setTemporaryPath($temporaryPath)
    {
        $this->temporaryPath = $temporaryPath;

        if (!$this->didMove) {
            $this->currentPath = $temporaryPath;
            $this->fileSize = 0;

            if (file_exists($this->currentPath)) {
                $this->fileSize = filesize($temporaryPath);
            }
        }

        return $this;
    }
public function setTemporaryPath($temporaryPath)
    {
        $this->temporaryPath = $temporaryPath;

        if (!$this->didMove) {
            $this->currentPath = $temporaryPath;
            $this->fileSize = 0;

            if (file_exists($this->currentPath)) {
                $this->fileSize = filesize($temporaryPath);
            }
        }

        return $this;
    }
public function setTemporaryPath ( $ temporaryPath ) { $ this -> temporaryPath = $ temporaryPath ; if ( ! $ this -> didMove ) { $ this -> currentPath = $ temporaryPath ; $ this -> fileSize = 0 ; if ( file_exists ( $ this -> currentPath ) ) { $ this -> fileSize = filesize ( $ temporaryPath ) ; } } return $ this ; }
Sets the path to local temporary file that was created to hold this file upload.

@param string $temporaryPath
@return $this
Sets the path to local temporary file that was created to hold this file upload .