/** * Sms constructor. * * @param $handler * @param array $options */ public function __construct($handler = 'default', array $options = []) { $this->to = []; $this->additionalFields = []; parent::__construct($handler, $options); }
/** * Email constructor. * * @param $handler * @param array $options */ public function __construct($handler = 'default', array $options = []) { $this->to = []; $this->cc = []; $this->bcc = []; $this->from = []; $this->subject = ''; $this->attachments = []; $this->parts = []; $this->additionalHeaders = []; $this->contentType = null; $this->tags = []; $this->metadata = []; $this->recipientVariables = []; parent::__construct($handler, $options); }