AddUsersConfig
Table of Contents
Methods
-
__construct()
: mixed
-
getReason()
: Reason
-
isFakeAdd()
: bool
-
isHideHistory()
: bool|null
-
isManager()
: bool
-
setHideHistory()
: AddUsersConfig
-
setManagerIds()
: AddUsersConfig
-
setReason()
: AddUsersConfig
-
skipRecent()
: bool
-
withMessage()
: bool
__construct()
public
__construct([array<string|int, mixed> $managerIds = [] ][, bool|null $hideHistory = null ][, bool $withMessage = true ][, bool $skipRecent = false ][, bool $isFakeAdd = false ][, Reason $reason = Reason::DEFAULT ]) : mixed
Parameters
-
$managerIds
: array<string|int, mixed>
= []
-
-
$hideHistory
: bool|null
= null
-
-
$withMessage
: bool
= true
-
-
$skipRecent
: bool
= false
-
-
$isFakeAdd
: bool
= false
-
-
$reason
: Reason
= Reason::DEFAULT
-
getReason()
public
getReason() : Reason
isFakeAdd()
public
isFakeAdd() : bool
isHideHistory()
public
isHideHistory() : bool|null
isManager()
public
isManager(int $userId) : bool
Parameters
-
$userId
: int
-
setHideHistory()
public
setHideHistory(bool|null $hideHistory) : AddUsersConfig
Parameters
-
$hideHistory
: bool|null
-
setManagerIds()
public
setManagerIds(array<string|int, mixed> $managerIds) : AddUsersConfig
Parameters
-
$managerIds
: array<string|int, mixed>
-
setReason()
public
setReason(Reason $reason) : AddUsersConfig
Parameters
-
$reason
: Reason
-
skipRecent()
public
skipRecent() : bool
withMessage()
public
withMessage() : bool