public function style(Array $attributes) : Table
    {
        $attribute = '';

        foreach( $attributes as $key => $values )
        {
            if( is_numeric($key) )
            {
                $key = $values;
            }

            $attribute .= ' '.$key.':'.$values.';';
        }

        $this->attr['style'] = $attribute;

        return $this;
    }
public function style(Array $attributes) : Table
    {
        $attribute = '';

        foreach( $attributes as $key => $values )
        {
            if( is_numeric($key) )
            {
                $key = $values;
            }

            $attribute .= ' '.$key.':'.$values.';';
        }

        $this->attr['style'] = $attribute;

        return $this;
    }
public function style ( Array $ attributes ) : Table { $ attribute = '' ; foreach ( $ attributes as $ key => $ values ) { if ( is_numeric ( $ key ) ) { $ key = $ values ; } $ attribute .= ' ' . $ key . ':' . $ values . ';' ; } $ this -> attr [ 'style' ] = $ attribute ; return $ this ; }
Sets table style attribute

@param array $attributes

@return Table
Sets table style attribute