src/Collections/ButtonCollection.php
public function addShareButton($shareContent = null)
    {
        $button = new Button(Button::TYPE_SHARE, '');
        if ($shareContent) {
            $button->setExtra($shareContent);
        }
        $this->add($button);

        return $this;
    }
public function addShareButton($shareContent = null)
    {
        $button = new Button(Button::TYPE_SHARE, '');
        if ($shareContent) {
            $button->setExtra($shareContent);
        }
        $this->add($button);

        return $this;
    }
public function addShareButton ( $ shareContent = null ) { $ button = new Button ( Button :: TYPE_SHARE , '' ) ; if ( $ shareContent ) { $ button -> setExtra ( $ shareContent ) ; } $ this -> add ( $ button ) ; return $ this ; }
Add share button

@return $this
Add share button