src/Slack/Attachment/Attachment.php
public function setTitle(Title $title)
    {
        $this->attachment['title'] = $title;

        if ($title->hasLink()) {
            $this->attachment['title_link'] = $title->getLink();
        }

        return $this;
    }
public function setTitle(Title $title)
    {
        $this->attachment['title'] = $title;

        if ($title->hasLink()) {
            $this->attachment['title_link'] = $title->getLink();
        }

        return $this;
    }
public function setTitle ( Title $ title ) { $ this -> attachment [ 'title' ] = $ title ; if ( $ title -> hasLink ( ) ) { $ this -> attachment [ 'title_link' ] = $ title -> getLink ( ) ; } return $ this ; }
The title is displayed as larger, bold text near the top of a message attachment.

@param Title $title

@return self
The title is displayed as larger bold text near the top of a message attachment .