abstract class User extends ApplierEntry (View source)

Log entry for user actions

Properties

protected User $applier

The user performing the operation

from  ApplierEntry
protected User $user

The user being added

Methods

string
getMessage()

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

__construct(User $user, User $applier = null)

No description

getEntryMessage()

No description

getEntryMessageWithApplier()

No description

getEntryOperation()

No description

getEntryContext()

No description

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(User $user, User $applier = null)

No description

Parameters

User $user
User $applier

abstract getEntryMessage()

No description

abstract getEntryMessageWithApplier()

No description

abstract getEntryOperation()

No description

getEntryContext()

No description

final array getContext()

Get the added context for the log entry

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

Return Value

array