示例#1
0
 /**
  * @param Recipients $recipients
  * @param string $subject
  * @param string|ContentProviderInterface $content
  * @param ActorInterface $sender
  * @param $options
  */
 public function __construct(Recipients $recipients, $subject, $content, ActorInterface $sender = null, $options = null)
 {
     parent::__construct($recipients, $content);
     $this->subject = $subject;
     $this->sender = $sender;
     $options = $this->handleDeprecatedOptions($options);
     $this->options = $options;
 }
示例#2
0
 /**
  * @param Recipients $recipients
  * @param string|ContentProviderInterface $content
  * @param ActorInterface $sender
  */
 public function __construct(Recipients $recipients, $content, ActorInterface $sender = null)
 {
     parent::__construct($recipients, $content);
     $this->sender = $sender;
 }
示例#3
0
 /**
  * @param Recipients $recipients
  * @param string|ContentProviderInterface $content
  * @param OptionsInterface $options
  */
 public function __construct(Recipients $recipients, $content, OptionsInterface $options = null)
 {
     parent::__construct($recipients, $content);
     $this->options = $options;
 }