public function border(Int $border, String $color = NULL) : Table
    {
        $this->attr['border'] = $border;

        if( ! empty($color) )
        {
            $this->attr['bordercolor'] = $color;
        }

        return $this;
    }
public function border(Int $border, String $color = NULL) : Table
    {
        $this->attr['border'] = $border;

        if( ! empty($color) )
        {
            $this->attr['bordercolor'] = $color;
        }

        return $this;
    }
public function border ( Int $ border , String $ color = NULL ) : Table { $ this -> attr [ 'border' ] = $ border ; if ( ! empty ( $ color ) ) { $ this -> attr [ 'bordercolor' ] = $ color ; } return $ this ; }
Sets table border

@param int $border
@param string $color = NULL

@return Table
Sets table border