public function setTableAttributes($attribs = [], $replace = false)
    {
        if ($replace) {
            $this->attribs = $attribs;
        } else {
            $this->attribs = array_merge($this->attribs, $attribs);
        }

        return $this;
    }
public function setTableAttributes($attribs = [], $replace = false)
    {
        if ($replace) {
            $this->attribs = $attribs;
        } else {
            $this->attribs = array_merge($this->attribs, $attribs);
        }

        return $this;
    }
public function setTableAttributes ( $ attribs = [ ] , $ replace = false ) { if ( $ replace ) { $ this -> attribs = $ attribs ; } else { $ this -> attribs = array_merge ( $ this -> attribs , $ attribs ) ; } return $ this ; }
Method to set the attributes for a table-tag

@param   array $attribs Associative array of attributes for the table-tag
@param   bool  $replace Replace possibly existing attributes

@return  static This object for chaining

@since 2.1
Method to set the attributes for a table - tag