Copied!

RecipientFactoryInterface

RecipientFactoryInterface.php : 17
Interface

Creates a notification recipient from given participant.

Methods

publiccreateRecipient()

RecipientFactoryInterface.php : 22
public createRecipient(ParticipantInterface $participant) : RecipientInterface

Parameters

Name Type Default value Description
$participant ParticipantInterface - -

Return values

RecipientInterface

Tags
Throws
InvalidArgumentException

If given participant is not supported