Documentation

NotificationMarkService
in package

Table of Contents

Properties

$clientRepository  : ClientRepository
$notificationMarkRepository  : INotificationMarkRepository
$notificationMarks  : array<string|int, NotificationMark>|null

Methods

__construct()  : mixed
NotificationMarkService constructor.
addNotificationMarkByUserIdAndNotificationKey()  : void
getLastByContainsKey()  : string|null
getNotificationMarks()  : array<string|int, NotificationMark>|null
hasNotificationMarkByUserIdAndNotificationKey()  : bool

Properties

Methods

addNotificationMarkByUserIdAndNotificationKey()

public addNotificationMarkByUserIdAndNotificationKey(int $userId, string $notificationKey[, array<string|int, mixed>|null $optionalParams = null ]) : void
Parameters
$userId : int
$notificationKey : string
$optionalParams : array<string|int, mixed>|null = null
Tags
throws
Exception

getLastByContainsKey()

public getLastByContainsKey(int $clientId, string $notificationKey) : string|null
Parameters
$clientId : int
$notificationKey : string
Return values
string|null

hasNotificationMarkByUserIdAndNotificationKey()

public hasNotificationMarkByUserIdAndNotificationKey(int $userId, string $notificationKey) : bool
Parameters
$userId : int
$notificationKey : string
Return values
bool

        
On this page

Search results