header = ($item instanceof CCol) ? $item : (new CColHeader($item)); } /** * Returns header cell element for column. * * @return CCol */ public function getHeader(): CCol { return $this->header; } /** * Passes through setting of class names to the internal header object. * * @return CTableColumn */ public function addClass($class) { $this->header->addClass($class); return $this; } }