composer package updates
[openemr.git] / vendor / zendframework / zend-mail / src / Transport / Envelope.php
blob20f4b34dc808377d6275c1fa5f8c2f98b3af7c3b
1 <?php
2 /**
3 * @see https://github.com/zendframework/zend-mail for the canonical source repository
4 * @copyright Copyright (c) 2005-2018 Zend Technologies USA Inc. (https://www.zend.com)
5 * @license https://github.com/zendframework/zend-mail/blob/master/LICENSE.md New BSD License
6 */
8 namespace Zend\Mail\Transport;
10 use Zend\Stdlib\AbstractOptions;
12 class Envelope extends AbstractOptions
14 /**
15 * @var string|null
17 protected $from;
19 /**
20 * @var string|null
22 protected $to;
24 /**
25 * Get MAIL FROM
27 * @return string
29 public function getFrom()
31 return $this->from;
34 /**
35 * Set MAIL FROM
37 * @param string $from
39 public function setFrom($from)
41 $this->from = (string) $from;
44 /**
45 * Get RCPT TO
47 * @return string|null
49 public function getTo()
51 return $this->to;
54 /**
55 * Set RCPT TO
57 * @param string $to
59 public function setTo($to)
61 $this->to = $to;