Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }