SilverStripe\CommentNotifications\Extensions\CommentNotifier::notifyCommentRecipient
Send comment notification to a given recipient
Signature
public function notifyCommentRecipient(Comment
$comment,
DataObject
$parent,
Member|string
$recipient )
Parameters
$comment
— object
$parent
— object- Object with the {@see CommentNotifiable} extension applied
$recipient
— object- Either a member object or an email address to which notifications should be sent