![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/laminas/laminas-mail/src/Header/ |
<?php namespace Laminas\Mail\Header; interface HeaderInterface { /** * Format value in Mime-Encoding (Quoted-Printable). Result is valid US-ASCII string * * @var bool */ public const FORMAT_ENCODED = true; /** * Return value in internal encoding which is usually UTF-8 * * @var bool */ public const FORMAT_RAW = false; /** * Factory to generate a header object from a string * * @see http://tools.ietf.org/html/rfc2822#section-2.2 * * @param string $headerLine * @return static * @throws Exception\InvalidArgumentException If the header does not match with RFC 2822 definition. */ public static function fromString($headerLine); /** * Retrieve header name * * @return string */ public function getFieldName(); /** * Retrieve header value * * @param HeaderInterface::FORMAT_* $format Return the value in Mime::Encoded or in Raw format * @return string */ public function getFieldValue($format = self::FORMAT_RAW); /** * Set header encoding * * @param string $encoding * @return $this */ public function setEncoding($encoding); /** * Get header encoding * * @return string */ public function getEncoding(); /** * Cast to string * * Returns in form of "NAME: VALUE" * * @return string */ public function toString(); }