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; }