private function renameFile($source, $target)
    {
        if (false === @rename($source, $target)) {
            throw new RuntimeException(sprintf('Could not write new cache file to %s.', $target));
        }
    }
private function renameFile($source, $target)
    {
        if (false === @rename($source, $target)) {
            throw new RuntimeException(sprintf('Could not write new cache file to %s.', $target));
        }
    }
private function renameFile ( $ source , $ target ) { if ( false === @ rename ( $ source , $ target ) ) { throw new RuntimeException ( sprintf ( 'Could not write new cache file to %s.' , $ target ) ) ; } }
Renames a file

@param  string $source
@param  string $target
@throws \RuntimeException
Renames a file