Helper/File.php
private function moveFile($sourceFolder, $destFolder, $filename)
    {
        // generate the full file paths
        $sourceFilepath = $sourceFolder . DIRECTORY_SEPARATOR . $filename;
        $destFilepath = $destFolder . DIRECTORY_SEPARATOR . $filename;

        // rename the file
        rename($sourceFilepath, $destFilepath);
    }
private function moveFile($sourceFolder, $destFolder, $filename)
    {
        // generate the full file paths
        $sourceFilepath = $sourceFolder . DIRECTORY_SEPARATOR . $filename;
        $destFilepath = $destFolder . DIRECTORY_SEPARATOR . $filename;

        // rename the file
        rename($sourceFilepath, $destFilepath);
    }
private function moveFile ( $ sourceFolder , $ destFolder , $ filename ) { // generate the full file paths $ sourceFilepath = $ sourceFolder . DIRECTORY_SEPARATOR . $ filename ; $ destFilepath = $ destFolder . DIRECTORY_SEPARATOR . $ filename ; // rename the file rename ( $ sourceFilepath , $ destFilepath ) ; }
Moves the output file from one folder to the next.

@param string $sourceFolder
@param string $destFolder
@param string $filename

@return null
Moves the output file from one folder to the next .