public function addComponentStyle($name, ComponentStyle $component_style) {
    $this->componentStyles[(string) $name] = $component_style;
    return $this;
  }
public function addComponentStyle($name, ComponentStyle $component_style) {
    $this->componentStyles[(string) $name] = $component_style;
    return $this;
  }
public function addComponentStyle ( $ name , ComponentStyle $ component_style ) { $ this -> componentStyles [ ( string ) $ name ] = $ component_style ; return $ this ; }
Setter for componentStyles.

@param mixed $name
Name.
@param \ChapterThree\AppleNewsAPI\Document\Styles\ComponentStyle $component_style
ComponentStyle.

@return $this
Setter for componentStyles .