RequestLog
extends Model
in package
System\Models\RequestLog
Tags
Table of Contents
- $count : int
- $created_at : Carbon|null
- $id : int
- $referer : string|null
- $status_code : int|null
- $updated_at : Carbon|null
- $url : string|null
- $guarded : array<string|int, mixed>
- $jsonable : array<string|int, mixed>
- $table : string
- add() : self
- Creates a log record
- all() :
- get() :
- newModelQuery() :
- newQuery() :
- query() :
- whereCount() :
- whereCreatedAt() :
- whereId() :
- whereReferer() :
- whereStatusCode() :
- whereUpdatedAt() :
- whereUrl() :
Properties
$count
public
int
$count
$created_at
public
Carbon|null
$created_at
$id
public
int
$id
$referer
public
string|null
$referer
$status_code
public
int|null
$status_code
$updated_at
public
Carbon|null
$updated_at
$url
public
string|null
$url
$guarded
protected
array<string|int, mixed>
$guarded
= []
The attributes that aren't mass assignable.
$jsonable
protected
array<string|int, mixed>
$jsonable
= ['referer']
List of attribute names which are json encoded and decoded from the database.
$table
protected
string
$table
= 'system_request_logs'
The database table used by the model.
Methods
add()
Creates a log record
public
static add([mixed $statusCode = 404 ]) : self
Parameters
- $statusCode : mixed = 404
Return values
self —all()
public
static all(mixed $columns) :
Parameters
- $columns : mixed
Return values
—get()
public
static get(mixed $columns) :
Parameters
- $columns : mixed
Return values
—newModelQuery()
public
static newModelQuery() :
Return values
—newQuery()
public
static newQuery() :
Return values
—query()
public
static query() :
Return values
—whereCount()
public
static whereCount(mixed $value) :
Parameters
- $value : mixed
Return values
—whereCreatedAt()
public
static whereCreatedAt(mixed $value) :
Parameters
- $value : mixed
Return values
—whereId()
public
static whereId(mixed $value) :
Parameters
- $value : mixed
Return values
—whereReferer()
public
static whereReferer(mixed $value) :
Parameters
- $value : mixed
Return values
—whereStatusCode()
public
static whereStatusCode(mixed $value) :
Parameters
- $value : mixed
Return values
—whereUpdatedAt()
public
static whereUpdatedAt(mixed $value) :
Parameters
- $value : mixed
Return values
—whereUrl()
public
static whereUrl(mixed $value) :
Parameters
- $value : mixed