class LogTransport implements TransportInterface (View source)

Properties

protected LoggerInterface $logger

The Logger instance.

Methods

void
__construct(LoggerInterface $logger)

Create a new log transport instance.

SentMessage|null
send(RawMessage $message, Envelope $envelope = null)

{@inheritdoc}

string
decodeQuotedPrintableContent(string $part)

Decode the given quoted printable content.

LoggerInterface
logger()

Get the logger for the LogTransport instance.

string
__toString()

Get the string representation of the transport.

Details

void __construct(LoggerInterface $logger)

Create a new log transport instance.

Parameters

LoggerInterface $logger

Return Value

void

SentMessage|null send(RawMessage $message, Envelope $envelope = null)

{@inheritdoc}

Parameters

RawMessage $message
Envelope $envelope

Return Value

SentMessage|null

protected string decodeQuotedPrintableContent(string $part)

Decode the given quoted printable content.

Parameters

string $part

Return Value

string

LoggerInterface logger()

Get the logger for the LogTransport instance.

Return Value

LoggerInterface

string __toString()

Get the string representation of the transport.

Return Value

string