original_string: public function addComponentStyle($name, ComponentStyle $component_style) {
      $this->componentStyles[(string) $name] = $component_style;
      return $this;
    }
code: public function addComponentStyle($name, ComponentStyle $component_style) {
      $this->componentStyles[(string) $name] = $component_style;
      return $this;
    }
code_tokens: public function addComponentStyle ( $ name , ComponentStyle $ component_style ) { $ this -> componentStyles [ ( string ) $ name ] = $ component_style ; return $ this ; }
docstring: Setter for componentStyles.
  
  @param mixed $name
  Name.
  @param \ChapterThree\AppleNewsAPI\Document\Styles\ComponentStyle $component_style
  ComponentStyle.
  
  @return $this
docstring_tokens: Setter for componentStyles .