CounterOverflowService
Table of Contents
Methods
-
__construct()
: mixed
-
delete()
: void
-
deleteAllByUserId()
: void
-
deleteByChatIdForAll()
: void
-
deleteByChatIds()
: void
-
getOverflowInfo()
: CounterOverflowInfo
-
getOverflowValue()
: int
-
insertOverflowed()
: void
__construct()
public
__construct(int $chatId) : mixed
Parameters
-
$chatId
: int
-
delete()
public
delete(int $userId) : void
Parameters
-
$userId
: int
-
deleteAllByUserId()
public
static deleteAllByUserId(int $userId) : void
Parameters
-
$userId
: int
-
deleteByChatIdForAll()
public
static deleteByChatIdForAll(int $chatId) : void
Parameters
-
$chatId
: int
-
deleteByChatIds()
public
static deleteByChatIds(array<string|int, mixed> $chatIds[, int|null $userId = null ]) : void
Parameters
-
$chatIds
: array<string|int, mixed>
-
-
$userId
: int|null
= null
-
getOverflowInfo()
public
getOverflowInfo(array<string|int, mixed> $userIds) : CounterOverflowInfo
Parameters
-
$userIds
: array<string|int, mixed>
-
getOverflowValue()
public
static getOverflowValue() : int
insertOverflowed()
public
insertOverflowed(array<string|int, mixed> $counters) : void
Parameters
-
$counters
: array<string|int, mixed>
-