Symbiote\Notifications\Service\NotificationService::sendToUser
Sends a notification directly to a user
Signature
public function sendToUser(SystemNotification
$notification,
DataObject
$context,
DataObject
$user,
[array
$extraData = ] )
Parameters
$notification
— Symbiote\Notifications\Model\SystemNotification
$context
— SilverStripe\ORM\DataObject
$user
— object
$extraData
— array