NotificationParser::parse
{@inheritDoc}
Signature
public function parse(string
$typeName,
array
$data,
Member
$member,
[boolean
$callToActionURL = false] )
Parameters
$typeName
—
string
- System name of the notification type to parse (e.g.:
participant_approval). Will determine what template will be
used.
$data
—
array
- Abritary data to inject into template.
$member
—
Member
- Member who will receive the notification. This information
will be injected in the template.
$callToActionURL
—
boolean
- Relative or absolute URL to an action specific to the notice.
Returns
- ParsedNotificationInterface
NotificationFailureException
Defined by Interface
NotificationParserInterface