composer package updates
[openemr.git] / vendor / zendframework / zend-mail / src / Storage / Message / MessageInterface.php
blobfa5f9eac990331870364664fae8d283669b47da7
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\Storage\Message;
10 interface MessageInterface
12 /**
13 * return toplines as found after headers
15 * @return string toplines
17 public function getTopLines();
19 /**
20 * check if flag is set
22 * @param mixed $flag a flag name, use constants defined in Zend\Mail\Storage
23 * @return bool true if set, otherwise false
25 public function hasFlag($flag);
27 /**
28 * get all set flags
30 * @return array array with flags, key and value are the same for easy lookup
32 public function getFlags();