class SentMessage mixin SentMessage

Traits

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.

__construct(SentMessage $sentMessage)

Create a new SentMessage instance.

SentMessage
getSymfonySentMessage()

Get the underlying Symfony Email instance.

__call(string $method, array $parameters)

Dynamically pass missing methods to the Symfony instance.

array
__serialize()

Get the serializable representation of the object.

__unserialize(array $data)

Marshal the object from its serialized data.

Details

in ForwardsCalls at line 22
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

in ForwardsCalls at line 52
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

in ForwardsCalls at line 66
static protected never throwBadMethodCallException(string $method)

Throw a bad method call exception for the given method.

Parameters

string $method

Return Value

never

Exceptions

BadMethodCallException

at line 21
__construct(SentMessage $sentMessage)

Create a new SentMessage instance.

Parameters

SentMessage $sentMessage

at line 29
SentMessage getSymfonySentMessage()

Get the underlying Symfony Email instance.

Return Value

SentMessage

at line 37
__call(string $method, array $parameters)

Dynamically pass missing methods to the Symfony instance.

Parameters

string $method
array $parameters

at line 45
array __serialize()

Get the serializable representation of the object.

Return Value

array

at line 58
__unserialize(array $data)

Marshal the object from its serialized data.

Parameters

array $data