public function compileRenameLabel(Blueprint $blueprint, Fluent $command)
    {
        $match = $this->compileFrom($blueprint);
        $from = $this->prepareLabels(array($blueprint));
        $to = $this->prepareLabels(array($command->to));

        return $match . " REMOVE n$from SET n$to";
    }
public function compileRenameLabel(Blueprint $blueprint, Fluent $command)
    {
        $match = $this->compileFrom($blueprint);
        $from = $this->prepareLabels(array($blueprint));
        $to = $this->prepareLabels(array($command->to));

        return $match . " REMOVE n$from SET n$to";
    }
public function compileRenameLabel ( Blueprint $ blueprint , Fluent $ command ) { $ match = $ this -> compileFrom ( $ blueprint ) ; $ from = $ this -> prepareLabels ( array ( $ blueprint ) ) ; $ to = $ this -> prepareLabels ( array ( $ command -> to ) ) ; return $ match . " REMOVE n$from SET n$to" ; }
Compile a rename label command.

@param  Blueprint  $blueprint
@param  Fluent  $command
@return string
Compile a rename label command .