public function addComponentLayout($name, ComponentLayout $component_layout) {
    $this->componentLayouts[(string) $name] = $component_layout;
    return $this;
  }
public function addComponentLayout($name, ComponentLayout $component_layout) {
    $this->componentLayouts[(string) $name] = $component_layout;
    return $this;
  }
public function addComponentLayout ( $ name , ComponentLayout $ component_layout ) { $ this -> componentLayouts [ ( string ) $ name ] = $ component_layout ; return $ this ; }
Setter for componentLayouts.

@param mixed $name
Name.
@param \ChapterThree\AppleNewsAPI\Document\Layouts\ComponentLayout $component_layout
ComponentLayout.

@return $this
Setter for componentLayouts .