1 | <?php |
||
58 | class EmailServiceOptions extends AbstractOptions |
||
59 | { |
||
60 | /** |
||
61 | * @var array |
||
62 | */ |
||
63 | protected $bcc = array(); |
||
64 | |||
65 | /** |
||
66 | * @var string |
||
67 | */ |
||
68 | protected $defaultTransport = Sendmail::class; |
||
69 | |||
70 | /** |
||
71 | * @var string|null |
||
72 | */ |
||
73 | protected $from = 'webmaster@localhost'; |
||
74 | |||
75 | /** |
||
76 | * @var string|null |
||
77 | */ |
||
78 | protected $replyTo = 'noreply@localhost'; |
||
79 | |||
80 | /** |
||
81 | * @var string |
||
82 | */ |
||
83 | protected $encoding = 'utf-8'; |
||
84 | |||
85 | /** |
||
86 | * @var string |
||
87 | */ |
||
88 | protected $defaultLocale = 'en-US'; |
||
89 | |||
90 | /** |
||
91 | * @param string $defaultLocale |
||
92 | */ |
||
93 | 1 | public function setDefaultLocale(string $defaultLocale) |
|
97 | |||
98 | /** |
||
99 | * @return string |
||
100 | */ |
||
101 | 1 | public function getDefaultLocale(): string |
|
105 | |||
106 | /** |
||
107 | * @param array $bcc |
||
108 | */ |
||
109 | 1 | public function setBcc(array $bcc): void |
|
113 | |||
114 | /** |
||
115 | * @return array |
||
116 | */ |
||
117 | 1 | public function getBcc(): array |
|
121 | |||
122 | /** |
||
123 | * @param string $defaultTransport |
||
124 | */ |
||
125 | 1 | public function setDefaultTransport(string $defaultTransport): void |
|
129 | |||
130 | /** |
||
131 | * @return string |
||
132 | */ |
||
133 | 1 | public function getDefaultTransport(): string |
|
137 | |||
138 | /** |
||
139 | * @param $encoding |
||
140 | */ |
||
141 | 1 | public function setEncoding(string $encoding): void |
|
145 | |||
146 | /** |
||
147 | * @return string |
||
148 | */ |
||
149 | 1 | public function getEncoding(): string |
|
153 | |||
154 | /** |
||
155 | * @param $from |
||
156 | */ |
||
157 | 1 | public function setFrom(string $from): void |
|
161 | |||
162 | /** |
||
163 | * @return string |
||
164 | */ |
||
165 | 1 | public function getFrom(): string |
|
169 | |||
170 | /** |
||
171 | * @param string $replyTo |
||
172 | */ |
||
173 | 1 | public function setReplyTo(string $replyTo): void |
|
177 | |||
178 | /** |
||
179 | * @return string |
||
180 | */ |
||
181 | 1 | public function getReplyTo(): string |
|
185 | } |
||
186 |