width = $width; $this->style = $this->setNewStyle(new CellStyle(), $style, true); } /** * Get cell style. * * @return ?\PhpOffice\PhpWord\Style\Cell */ public function getStyle() { return $this->style; } /** * Get cell width. * * @return ?int */ public function getWidth() { return $this->width; } }