private function drawDivider(string $prefix = 'sep_'): string
    {
        $divider = '';
        foreach ($this->columnsWidths as $width) {
            // Column width position for the xSep + left and rigth padding
            $times = $width + $this->options['cells_padding'][1] + $this->options['cells_padding'][3];
            $divider .= $this->options[$prefix . 'x'] . $this->repeatChar($this->options[$prefix . 'h'], $times);
        }

        return $divider . $this->options[$prefix . 'x'] . PHP_EOL;
    }
private function drawDivider(string $prefix = 'sep_'): string
    {
        $divider = '';
        foreach ($this->columnsWidths as $width) {
            // Column width position for the xSep + left and rigth padding
            $times = $width + $this->options['cells_padding'][1] + $this->options['cells_padding'][3];
            $divider .= $this->options[$prefix . 'x'] . $this->repeatChar($this->options[$prefix . 'h'], $times);
        }

        return $divider . $this->options[$prefix . 'x'] . PHP_EOL;
    }
private function drawDivider ( string $ prefix = 'sep_' ) : string { $ divider = '' ; foreach ( $ this -> columnsWidths as $ width ) { // Column width position for the xSep + left and rigth padding $ times = $ width + $ this -> options [ 'cells_padding' ] [ 1 ] + $ this -> options [ 'cells_padding' ] [ 3 ] ; $ divider .= $ this -> options [ $ prefix . 'x' ] . $ this -> repeatChar ( $ this -> options [ $ prefix . 'h' ] , $ times ) ; } return $ divider . $ this -> options [ $ prefix . 'x' ] . PHP_EOL ; }
Draws the horizontal divider.

@param string $prefix

@return string
Draws the horizontal divider .