lib/classes/Swift/Mime/Headers/MailboxHeader.php
protected function createDisplayNameString($displayName, $shorten = false)
    {
        return $this->createPhrase($this, $displayName, $this->getCharset(), $this->getEncoder(), $shorten);
    }
protected function createDisplayNameString($displayName, $shorten = false)
    {
        return $this->createPhrase($this, $displayName, $this->getCharset(), $this->getEncoder(), $shorten);
    }
protected function createDisplayNameString ( $ displayName , $ shorten = false ) { return $ this -> createPhrase ( $ this , $ displayName , $ this -> getCharset ( ) , $ this -> getEncoder ( ) , $ shorten ) ; }
Produces a compliant, formatted display-name based on the string given.

@param string $displayName as displayed
@param bool   $shorten     the first line to make remove for header name

@return string
Produces a compliant formatted display - name based on the string given .