class AddGroup extends Group (View source)

Properties

protected User $applier The user performing the operation from ApplierEntry
protected Group $group The group being added or removed from Group

Methods

string
getMessage()

Convert this entry into a string that can be inserted into the log

__construct(Group $group, User $applier = null)

No description

from Group
getEntryMessage()

No description

getEntryMessageWithApplier()

No description

getEntryOperation()

No description

getEntryContext()

No description

from Group
array
getContext()

Get the added context for the log entry

Details

final string getMessage()

Convert this entry into a string that can be inserted into the log

Ex: "Created a new user"

Return Value

string

__construct(Group $group, User $applier = null)

Parameters

Group $group
User $applier

getEntryMessage()

getEntryMessageWithApplier()

getEntryOperation()

getEntryContext()

final array getContext()

Get the added context for the log entry

Ex: ["username": "...", "email": "...", "id": "...", "created_by": "..."]

Return Value

array