Methods |
public __construct(?int $mode = NULL, ?string $filename = NULL, ?ZBateson\MailMimeParser\Message\IMimePart $parent = NULL, ?Psr\Log\LoggerInterface $logger = NULL, ?ZBateson\MailMimeParser\Message\PartStreamContainer $streamContainer = NULL) |
public ZBateson\MailMimeParser\Message\MessagePart::__toString() : string |
public ZBateson\MailMimeParser\ErrorBag::addError(string $message, string $psrLogLevel, ?Throwable $exception = NULL) : static |
public ZBateson\MailMimeParser\Message\MessagePart::attach(SplObserver $observer) : void |
public ZBateson\MailMimeParser\Message\MessagePart::attachContentStream(Psr\Http\Message\StreamInterface $stream, string $streamCharset = 'UTF-8'ZBateson\MailMimeParser\MailMimeParser::DEFAULT_CHARSET) : static |
public ZBateson\MailMimeParser\Message\MessagePart::detach(SplObserver $observer) : void |
public ZBateson\MailMimeParser\Message\MessagePart::detachContentStream() : static |
public ZBateson\MailMimeParser\ErrorBag::getAllErrors(bool $validate = false, string $minPsrLevel = 'error'Psr\Log\LogLevel::ERROR) : array |
public ZBateson\MailMimeParser\Message\MessagePart::getBinaryContentResourceHandle() : ?mixed |
public ZBateson\MailMimeParser\Message\MessagePart::getBinaryContentStream() : ?ZBateson\MailMimeParser\Stream\MessagePartStreamDecorator |
public getCharset() : ?string |
public ZBateson\MailMimeParser\Message\MessagePart::getContent(string $charset = 'UTF-8'ZBateson\MailMimeParser\MailMimeParser::DEFAULT_CHARSET) : ?string |
public getContentDisposition(?string $default = 'attachment') : ?string |
public ZBateson\MailMimeParser\Message\NonMimePart::getContentId() : ?string Returns the Content ID of the part. NonMimeParts do not have a Content ID, and so this simply returns null. |
public ZBateson\MailMimeParser\Message\MessagePart::getContentStream(string $charset = 'UTF-8'ZBateson\MailMimeParser\MailMimeParser::DEFAULT_CHARSET) : ?ZBateson\MailMimeParser\Stream\MessagePartStreamDecorator |
public getContentTransferEncoding(?string $default = 'x-uuencode') : ?string |
public getContentType(string $default = 'application/octet-stream') : ?string Returns 'application/octet-stream'. |
public ZBateson\MailMimeParser\Message\MessagePart::getErrorLoggingContextName() : string |
public ZBateson\MailMimeParser\ErrorBag::getErrors(bool $validate = false, string $minPsrLevel = 'error'Psr\Log\LogLevel::ERROR) : array |
public getFilename() : ?string Returns the filename included in the uuencoded 'begin' line for this
part. |
public ZBateson\MailMimeParser\Message\MessagePart::getParent() : ?ZBateson\MailMimeParser\Message\IMimePart |
public ZBateson\MailMimeParser\Message\MessagePart::getResourceHandle() : ?mixed |
public ZBateson\MailMimeParser\Message\MessagePart::getStream() : Psr\Http\Message\StreamInterface |
public getUnixFileMode() : ?int |
public ZBateson\MailMimeParser\ErrorBag::hasAnyErrors(bool $validate = false, string $minPsrLevel = 'error'Psr\Log\LogLevel::ERROR) : bool |
public ZBateson\MailMimeParser\Message\MessagePart::hasContent() : bool |
public ZBateson\MailMimeParser\ErrorBag::hasErrors(bool $validate = false, string $minPsrLevel = 'error'Psr\Log\LogLevel::ERROR) : bool |
public ZBateson\MailMimeParser\Message\NonMimePart::isMime() : bool |
public isTextPart() : bool Although the part may be plain text, there is no reliable way of
determining its type since uuencoded 'begin' lines only include a file
name and no mime type. The file name's extension may be a hint. |
public ZBateson\MailMimeParser\Message\MessagePart::notify() : void |
public ZBateson\MailMimeParser\Message\MessagePart::save( $filenameResourceOrStream, string $filemode = 'w+') : static |
public ZBateson\MailMimeParser\Message\MessagePart::saveContent( $filenameResourceOrStream) : static |
public ZBateson\MailMimeParser\Message\MessagePart::setCharsetOverride(string $charsetOverride, bool $onlyIfNoCharset = false) : static |
public ZBateson\MailMimeParser\Message\MessagePart::setContent( $resource, string $charset = 'UTF-8'ZBateson\MailMimeParser\MailMimeParser::DEFAULT_CHARSET) : static |
public setFilename(string $filename) : static |
public setUnixFileMode(int $mode) : static |