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