static function rename($src, $dest) {
        if (self::exists($dest)) {
            throw new \Lollipop\Exception\Runtime('File already exists: ' . $dest);
        }
        
        if (is_uploaded_file($src)) {
            return \move_uploaded_file($src, $dest);
        }
        
        return \rename($src, $dest);
    }
static function rename($src, $dest) {
        if (self::exists($dest)) {
            throw new \Lollipop\Exception\Runtime('File already exists: ' . $dest);
        }
        
        if (is_uploaded_file($src)) {
            return \move_uploaded_file($src, $dest);
        }
        
        return \rename($src, $dest);
    }
static function rename ( $ src , $ dest ) { if ( self :: exists ( $ dest ) ) { throw new \ Lollipop \ Exception \ Runtime ( 'File already exists: ' . $ dest ) ; } if ( is_uploaded_file ( $ src ) ) { return \ move_uploaded_file ( $ src , $ dest ) ; } return \ rename ( $ src , $ dest ) ; }
Alias rename file

@param   string  $src    Source file
@param   string  $dest   Destination file
@return  int
Alias rename file