StoreActivityLog
in package
implements
ShouldQueue
Interfaces, Classes, Traits and Enums
- ShouldQueue
Table of Contents
- __construct() : void
- Create the event listener.
- handle() : void
- Handle the event.
- localLogging() : void
- Logging on local server
- prepareLogData() : array<string|int, mixed>
- Prepare log data
- remoteLogging() : void
- Logging on remote server
Methods
__construct()
Create the event listener.
public
__construct() : void
Return values
void —handle()
Handle the event.
public
handle(ActivityLogged $event) : void
Parameters
- $event : ActivityLogged
Return values
void —localLogging()
Logging on local server
private
localLogging(ActivityLogged $event) : void
Parameters
- $event : ActivityLogged
Return values
void —prepareLogData()
Prepare log data
private
prepareLogData(ActivityLogged $event[, bool $isLocation = true ]) : array<string|int, mixed>
Parameters
- $event : ActivityLogged
- $isLocation : bool = true
Return values
array<string|int, mixed> —remoteLogging()
Logging on remote server
private
remoteLogging(ActivityLogged $event) : void
Parameters
- $event : ActivityLogged