UserFrosting API

UserActivityDatabaseHandler extends DatabaseHandler

Monolog handler for storing user activities to the database.

Tags
author

Alex Weissman (https://alexanderweissman.com)

Table of Contents

$classMapper ClassMapper
$modelIdentifier string
write() {@inheritdoc} mixed
__construct() Create a new DatabaseHandler object. mixed
write() {@inheritdoc} mixed

Properties

Methods

__construct()

Create a new DatabaseHandler object.

public __construct( $classMapper : ClassMapper , $modelIdentifier : string [, $level : int = Logger::DEBUG ] [, $bubble : bool = true ] ) : mixed
Parameters
$classMapper : ClassMapper

Maps the modelIdentifier to the specific Eloquent model.

$modelIdentifier : string
$level : int = Logger::DEBUG

The minimum logging level at which this handler will be triggered

$bubble : bool = true

Whether the messages that are handled can bubble up the stack or not

Return values
mixed

write()

{@inheritdoc}

protected write( $record : array ) : mixed
Parameters
$record : array
Return values
mixed

Search results