namedStyleType = $namedStyleType; } /** * @return self::NAMED_STYLE_TYPE_* */ public function getNamedStyleType() { return $this->namedStyleType; } /** * The paragraph style of this named style. * * @param ParagraphStyle $paragraphStyle */ public function setParagraphStyle(ParagraphStyle $paragraphStyle) { $this->paragraphStyle = $paragraphStyle; } /** * @return ParagraphStyle */ public function getParagraphStyle() { return $this->paragraphStyle; } /** * The text style of this named style. * * @param TextStyle $textStyle */ public function setTextStyle(TextStyle $textStyle) { $this->textStyle = $textStyle; } /** * @return TextStyle */ public function getTextStyle() { return $this->textStyle; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(NamedStyle::class, 'Google_Service_Docs_NamedStyle');