public function setColumnAlignment($column, $alignment)
    {
        Assert::oneOf($alignment, Alignment::all(), 'The column alignment must be one of the Alignment constants. Got: %s');

        $this->columnAlignments[$column] = $alignment;

        return $this;
    }
public function setColumnAlignment($column, $alignment)
    {
        Assert::oneOf($alignment, Alignment::all(), 'The column alignment must be one of the Alignment constants. Got: %s');

        $this->columnAlignments[$column] = $alignment;

        return $this;
    }
public function setColumnAlignment ( $ column , $ alignment ) { Assert :: oneOf ( $ alignment , Alignment :: all ( ) , 'The column alignment must be one of the Alignment constants. Got: %s' ) ; $ this -> columnAlignments [ $ column ] = $ alignment ; return $ this ; }
Sets the alignment of a given column.

@param int $column    The 0-based column key.
@param int $alignment The alignment.

@return static The current instance.
Sets the alignment of a given column .