UserActivityDatabaseHandler extends DatabaseHandler
Monolog handler for storing user activities to the database.
Tags
Table of Contents
| $classMapper | ClassMapper | |
|---|---|---|
| $modelIdentifier | string | |
| write() | {@inheritdoc} | mixed | 
| __construct() | Create a new DatabaseHandler object. | mixed | 
| write() | {@inheritdoc} | mixed | 
Properties
$classMapper
        protected
                ClassMapper
        $classMapper
            
            
$modelIdentifier
        protected
                string
        $modelIdentifier
            
            
Methods
write()
{@inheritdoc}
        protected
                                write(
                    
                            $record :
                array
                            
                )
        : mixed
    
    
            Parameters
- $record : array
 
Return values
mixed__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
mixedwrite()
{@inheritdoc}
        protected
                                write(
                    
                            $record :
                array
                            
                )
        : mixed
    
    
            Parameters
- $record : array