protected function calculateRowLength(array $field_lengths, int $seperator_padding, string $seperator)
    {
        $sample_row = $seperator . $this->su->fill($seperator_padding);
        for ($i = 0; $i < count($field_lengths); $i++) {
            $sample_row .= $this->su->fill($field_lengths[$i]) . $this->su->fill($seperator_padding) . $seperator . $this->su->fill($seperator_padding);
        }
        $sample_row = rtrim($sample_row);
        return strlen($sample_row);
    }
protected function calculateRowLength(array $field_lengths, int $seperator_padding, string $seperator)
    {
        $sample_row = $seperator . $this->su->fill($seperator_padding);
        for ($i = 0; $i < count($field_lengths); $i++) {
            $sample_row .= $this->su->fill($field_lengths[$i]) . $this->su->fill($seperator_padding) . $seperator . $this->su->fill($seperator_padding);
        }
        $sample_row = rtrim($sample_row);
        return strlen($sample_row);
    }
protected function calculateRowLength ( array $ field_lengths , int $ seperator_padding , string $ seperator ) { $ sample_row = $ seperator . $ this -> su -> fill ( $ seperator_padding ) ; for ( $ i = 0 ; $ i < count ( $ field_lengths ) ; $ i ++ ) { $ sample_row .= $ this -> su -> fill ( $ field_lengths [ $ i ] ) . $ this -> su -> fill ( $ seperator_padding ) . $ seperator . $ this -> su -> fill ( $ seperator_padding ) ; } $ sample_row = rtrim ( $ sample_row ) ; return strlen ( $ sample_row ) ; }
Calculate the length of a row by taking it's field lengths, seperator padding and seperator and mocking
update a row to get the strlen of

@param array $field_lengths
@param int $seperator_padding
@param string $seperator
@return int
Calculate the length of a row by taking it s field lengths seperator padding and seperator and mocking update a row to get the strlen of