• Full name: \App\Infrastructure\Services\Content\Workflow\ContentNotificationService
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Properties

dfdb

private \Qubus\Expressive\Database $dfdb

Methods

__construct

public __construct(\Qubus\Expressive\Database $dfdb): mixed

Parameters:

Parameter Type Description
$dfdb \Qubus\Expressive\Database

unread

public unread(string $userId, int $limit = 15): array

Parameters:

Parameter Type Description
$userId string
$limit int

Throws:


markRead

public markRead(string $notificationId, string $userId): void

Parameters:

Parameter Type Description
$notificationId string
$userId string

Throws:


markAllRead

public markAllRead(string $userId): void

Parameters:

Parameter Type Description
$userId string

Throws: