function setTitle(string $title) {
        if(\mb_strlen($title) > 256) {
            throw new \InvalidArgumentException('Embed title can not be longer than 256 characters');
        }
        
        $this->title = $title;
        return $this;
    }
function setTitle(string $title) {
        if(\mb_strlen($title) > 256) {
            throw new \InvalidArgumentException('Embed title can not be longer than 256 characters');
        }
        
        $this->title = $title;
        return $this;
    }
function setTitle ( string $ title ) { if ( \ mb_strlen ( $ title ) > 256 ) { throw new \ InvalidArgumentException ( 'Embed title can not be longer than 256 characters' ) ; } $ this -> title = $ title ; return $ this ; }
Set the title of this embed.
@param string  $title    Maximum length is 256 characters.
@return $this
@throws \InvalidArgumentException
Set the title of this embed .