SharingInfoDto
Table of Contents
Methods
-
addByUserData()
: void
-
addForCodes()
: void
-
addUserId()
: void
-
getByCode()
: ShareDto|null
-
getUserById()
: ShareDto|null
-
getUserIdList()
: array<string|int, mixed>
-
hasCode()
: bool
-
isEmptyUsers()
: bool
-
isEmptyUsersIdList()
: bool
addByUserData()
public
addByUserData(int $userId, ShareDto $shareDto) : void
Parameters
-
$userId
: int
-
-
$shareDto
: ShareDto
-
addForCodes()
public
addForCodes(ShareDto $shareDto) : void
Parameters
-
$shareDto
: ShareDto
-
addUserId()
public
addUserId(int $userId) : void
Parameters
-
$userId
: int
-
getByCode()
public
getByCode(string $code) : ShareDto|null
Parameters
-
$code
: string
-
getUserById()
public
getUserById(mixed $userId) : ShareDto|null
Parameters
-
$userId
: mixed
-
getUserIdList()
public
getUserIdList() : array<string|int, mixed>
Return values
array<string|int, mixed>
hasCode()
public
hasCode(string $code) : bool
Parameters
-
$code
: string
-
isEmptyUsers()
public
isEmptyUsers() : bool
isEmptyUsersIdList()
public
isEmptyUsersIdList() : bool