GitWrapper\GitWorkingCopy::mv PHP Method

mv() public method

Move or rename a file, a directory, or a symlink.
public mv ( string $source, string $destination, array $options = [] ) : GitWorkingCopy
$source string The file / directory being moved.
$destination string The target file / directory that the source is being move to.
$options array (optional) An associative array of command line options.
return GitWorkingCopy
    public function mv($source, $destination, array $options = array())
    {
        $args = array('mv', $source, $destination, $options);
        return $this->run($args);
    }