RequestLog
Model for logging 404 errors
class System\Models\RequestLog
extends Model
Extends
Class | Description |
---|---|
Model
|
Properties
protected
$guarded
:
array
= []
The attributes that aren't mass assignable.
protected
$jsonable
:
array
= ["referer"]
List of attribute names which are json encoded and decoded from the database.
protected
$table
:
string
= "system_request_logs"
The database table used by the model.
Methods
public
static
add (integer $statusCode = 404
)
: self
Creates a log record
Parameters
Property | Type | Description |
---|---|---|
$statusCode | integer |
integer
|
Returns
self
Copyright © 2024 Winter CMS