public function addTextStyle($name, TextStyle $text_style) {
    $this->textStyles[(string) $name] = $text_style;
    return $this;
  }
public function addTextStyle($name, TextStyle $text_style) {
    $this->textStyles[(string) $name] = $text_style;
    return $this;
  }
public function addTextStyle ( $ name , TextStyle $ text_style ) { $ this -> textStyles [ ( string ) $ name ] = $ text_style ; return $ this ; }
Setter for textStyles.

@param mixed $name
Name.
@param \ChapterThree\AppleNewsAPI\Document\Styles\TextStyle $text_style
TextStyle.

@return $this
Setter for textStyles .