interface HeaderInterface
A MIME Header.
@author Chris Corbyn
Hierarchy
- interface \Symfony\Component\Mime\Header\HeaderInterface
Expanded class hierarchy of HeaderInterface
All classes that implement HeaderInterface
1 file declares its use of HeaderInterface
- MimeMessageNormalizer.php in vendor/
symfony/ serializer/ Normalizer/ MimeMessageNormalizer.php
File
-
vendor/
symfony/ mime/ Header/ HeaderInterface.php, line 19
Namespace
Symfony\Component\Mime\HeaderView source
interface HeaderInterface {
/**
* Sets the body.
*
* The type depends on the Header concrete class.
*/
public function setBody(mixed $body) : void;
/**
* Gets the body.
*
* The return type depends on the Header concrete class.
*/
public function getBody() : mixed;
public function setCharset(string $charset) : void;
public function getCharset() : ?string;
public function setLanguage(string $lang) : void;
public function getLanguage() : ?string;
public function getName() : string;
public function setMaxLineLength(int $lineLength) : void;
public function getMaxLineLength() : int;
/**
* Gets this Header rendered as a compliant string.
*/
public function toString() : string;
/**
* Gets the header's body, prepared for folding into a final header value.
*
* This is not necessarily RFC 2822 compliant since folding white space is
* not added at this stage (see {@link toString()} for that).
*/
public function getBodyAsString() : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
HeaderInterface::getBody | public | function | Gets the body. | 6 |
HeaderInterface::getBodyAsString | public | function | Gets the header's body, prepared for folding into a final header value. | 6 |
HeaderInterface::getCharset | public | function | 1 | |
HeaderInterface::getLanguage | public | function | 1 | |
HeaderInterface::getMaxLineLength | public | function | 1 | |
HeaderInterface::getName | public | function | 1 | |
HeaderInterface::setBody | public | function | Sets the body. | 6 |
HeaderInterface::setCharset | public | function | 1 | |
HeaderInterface::setLanguage | public | function | 1 | |
HeaderInterface::setMaxLineLength | public | function | 1 | |
HeaderInterface::toString | public | function | Gets this Header rendered as a compliant string. | 1 |