W3cubDocs

/Symfony 4.1

SenderLocatorInterface

interface SenderLocatorInterface

Methods

SenderInterface|null getSenderForMessage(object $message)

Gets the sender (if applicable) for the given message object.

Details

SenderInterface|null getSenderForMessage(object $message)

Gets the sender (if applicable) for the given message object.

Parameters

object $message

Return Value

SenderInterface|null