public function store(FlowEventAware
$event, array
$stored): array
{ if (!
$event instanceof MailAware
) { return $stored;
} if (!
isset($stored[MailAware::MAIL_STRUCT
])) { try { $mailStruct =
$event->
getMailStruct();
$data =
[ 'recipients' =>
$mailStruct->
getRecipients(),
'bcc' =>
$mailStruct->
getBcc(),
'cc' =>
$mailStruct->
getCc(),
];
$stored[MailAware::MAIL_STRUCT
] =
$data;
} catch (MailEventConfigurationException
) { } }