CounterOverflowInfo
Table of Contents
Methods
-
__construct()
: mixed
-
changeOverflowStatus()
: void
-
getUsersWithoutOverflow()
: array<string|int, mixed>
-
has()
: bool
-
hasOverflow()
: bool
__construct()
public
__construct(array<string|int, mixed> $usersWithOverflow, array<string|int, mixed> $usersWithoutOverflow) : mixed
Parameters
-
$usersWithOverflow
: array<string|int, mixed>
-
-
$usersWithoutOverflow
: array<string|int, mixed>
-
changeOverflowStatus()
public
changeOverflowStatus(int $userId, bool $hasOverflowNow) : void
Parameters
-
$userId
: int
-
-
$hasOverflowNow
: bool
-
getUsersWithoutOverflow()
public
getUsersWithoutOverflow() : array<string|int, mixed>
Return values
array<string|int, mixed>
has()
public
has(int $userId) : bool
Parameters
-
$userId
: int
-
hasOverflow()
public
hasOverflow(int $userId) : bool
Parameters
-
$userId
: int
-