RequestLog

Model for logging 404 errors

 class System\Models\RequestLog
extends Model

Properties

protected $guarded : array

The attributes that aren't mass assignable.

protected $jsonable : array

List of attribute names which are json encoded and decoded from the database.

protected $table : string

The database table used by the model.

Methods

public static add (integer $statusCode = 404) : self

Creates a log record

Parameters
Property Description
$statusCode
integer
Returns
self
Copyright © 2024 Winter CMS