public function setMaxLengths($column1 = null, $column2 = null, $_ = null)
    {
        foreach (func_get_args() as $index => $argument) {
            $length = strlen((string) $argument);

            if ($this->columns->offsetExists($index) === false || $this->columns->offsetGet($index) < $length) {
                $this->columns->offsetSet($index, $length);
            }
        }

        return $this;
    }
public function setMaxLengths($column1 = null, $column2 = null, $_ = null)
    {
        foreach (func_get_args() as $index => $argument) {
            $length = strlen((string) $argument);

            if ($this->columns->offsetExists($index) === false || $this->columns->offsetGet($index) < $length) {
                $this->columns->offsetSet($index, $length);
            }
        }

        return $this;
    }
public function setMaxLengths ( $ column1 = null , $ column2 = null , $ _ = null ) { foreach ( func_get_args ( ) as $ index => $ argument ) { $ length = strlen ( ( string ) $ argument ) ; if ( $ this -> columns -> offsetExists ( $ index ) === false || $ this -> columns -> offsetGet ( $ index ) < $ length ) { $ this -> columns -> offsetSet ( $ index , $ length ) ; } } return $ this ; }
Set the max column lengths for later use

@param null $column1
@param null $column2
@param null $_

@return self
Set the max column lengths for later use