private function getRow($row_number, array $row)
    {
        $message = '';
        foreach ($row as $cell_number => $player) {
            $withBackground = $this->drawCellBackground($row_number, $cell_number);
            $message .= ($withBackground ? "|<bg={$this->background_color}> " : '| ')
                        . $this->getPlayerChar($player, $withBackground)
                        . ($withBackground ? " </bg={$this->background_color}>" : ' ')
            ;
        }
        $message .= "|\n";
        $message .= $this->getLineSeparator();

        return $message;
    }
private function getRow($row_number, array $row)
    {
        $message = '';
        foreach ($row as $cell_number => $player) {
            $withBackground = $this->drawCellBackground($row_number, $cell_number);
            $message .= ($withBackground ? "|<bg={$this->background_color}> " : '| ')
                        . $this->getPlayerChar($player, $withBackground)
                        . ($withBackground ? " </bg={$this->background_color}>" : ' ')
            ;
        }
        $message .= "|\n";
        $message .= $this->getLineSeparator();

        return $message;
    }
private function getRow ( $ row_number , array $ row ) { $ message = '' ; foreach ( $ row as $ cell_number => $ player ) { $ withBackground = $ this -> drawCellBackground ( $ row_number , $ cell_number ) ; $ message .= ( $ withBackground ? "|<bg={$this->background_color}> " : '| ' ) . $ this -> getPlayerChar ( $ player , $ withBackground ) . ( $ withBackground ? " </bg={$this->background_color}>" : ' ' ) ; } $ message .= "|\n" ; $ message .= $ this -> getLineSeparator ( ) ; return $ message ; }
Returns the row text that should be write

@param  int    $row_number
@param  array  $row
@return string
Returns the row text that should be write