class SentMessage mixin SentMessage (View source)

Traits

Properties

protected SentMessage $sentMessage

The Symfony SentMessage instance.

Methods

mixed
forwardCallTo(mixed $object, string $method, array $parameters)

Forward a method call to the given object.

mixed
forwardDecoratedCallTo(mixed $object, string $method, array $parameters)

Forward a method call to the given object, returning $this if the forwarded call returned itself.

static never
throwBadMethodCallException(string $method)

Throw a bad method call exception for the given method.

void
__construct(SentMessage $sentMessage)

Create a new SentMessage instance.

SentMessage
getSymfonySentMessage()

Get the underlying Symfony Email instance.

mixed
__call(string $method, array $parameters)

Dynamically pass missing methods to the Symfony instance.

array
__serialize()

Get the serializable representation of the object.

void
__unserialize(array $data)

Marshal the object from its serialized data.

Details

protected mixed forwardCallTo(mixed $object, string $method, array $parameters)

Forward a method call to the given object.

Parameters

mixed $object
string $method
array $parameters

Return Value

mixed

Exceptions

BadMethodCallException

protected mixed forwardDecoratedCallTo(mixed $object, string $method, array $parameters)

Forward a method call to the given object, returning $this if the forwarded call returned itself.

Parameters

mixed $object
string $method
array $parameters

Return Value

mixed

Exceptions

BadMethodCallException

static protected never throwBadMethodCallException(string $method)

Throw a bad method call exception for the given method.

Parameters

string $method

Return Value

never

Exceptions

BadMethodCallException

void __construct(SentMessage $sentMessage)

Create a new SentMessage instance.

Parameters

SentMessage $sentMessage

Return Value

void

SentMessage getSymfonySentMessage()

Get the underlying Symfony Email instance.

Return Value

SentMessage

mixed __call(string $method, array $parameters)

Dynamically pass missing methods to the Symfony instance.

Parameters

string $method
array $parameters

Return Value

mixed

array __serialize()

Get the serializable representation of the object.

Return Value

array

void __unserialize(array $data)

Marshal the object from its serialized data.

Parameters

array $data

Return Value

void