/**
  * DelegateMessageRenderer constructor.
  *
  * @param MessageRendererInterface $delegate The delegate message renderer.
  * @param string                   $to       The to address.
  * @param string                   $toName   The to name.
  */
 public function __construct(MessageRendererInterface $delegate, $to, $toName)
 {
     parent::__construct($delegate);
     $this->to = (string) $to;
     $this->toName = (string) $toName;
 }
 function __construct(MessageRendererInterface $delegate, $from, $fromName)
 {
     parent::__construct($delegate);
     $this->from = (string) $from;
     $this->fromName = (string) $fromName;
 }
 function __construct(MessageRendererInterface $delegate, $replyTo, $replyToName)
 {
     parent::__construct($delegate);
     $this->replyTo = (string) $replyTo;
     $this->replyToName = (string) $replyToName;
 }
 function __construct(MessageRendererInterface $delegate, $sender, $senderName)
 {
     parent::__construct($delegate);
     $this->sender = (string) $sender;
     $this->senderName = (string) $senderName;
 }