Properties

$id

$id : integer

Type

integer

$log_name

$log_name : string|null

Type

string|null

$description

$description : string

Type

string

$subject_id

$subject_id : string|null

Type

string|null

$subject_type

$subject_type : string|null

Type

string|null

$causer_id

$causer_id : string|null

Type

string|null

$causer_type

$causer_type : string|null

Type

string|null

$properties

$properties : \Illuminate\Support\Collection|null

Type

\Illuminate\Support\Collection|null

$created_at

$created_at : \Illuminate\Support\Carbon|null

Type

\Illuminate\Support\Carbon|null

$updated_at

$updated_at : \Illuminate\Support\Carbon|null

Type

\Illuminate\Support\Carbon|null

$causer

$causer : \Illuminate\Database\Eloquent\Model|\Eloquent

Type

\Illuminate\Database\Eloquent\Model|\Eloquent

$changes

$changes : \Illuminate\Support\Collection

Type

\Illuminate\Support\Collection

$subject

$subject : \Illuminate\Database\Eloquent\Model|\Eloquent

Type

\Illuminate\Database\Eloquent\Model|\Eloquent

$hidden

$hidden : 

Type

Methods

getList()

getList(array  $validated) : array

获取列表

Parameters

array $validated

Returns

array

causedBy()

causedBy(\Illuminate\Database\Eloquent\Model  $causer) : \Illuminate\Database\Eloquent\Builder|\Spatie\Activitylog\Models\Activity

Parameters

\Illuminate\Database\Eloquent\Model $causer

Returns

\Illuminate\Database\Eloquent\Builder|\Spatie\Activitylog\Models\Activity

forSubject()

forSubject(\Illuminate\Database\Eloquent\Model  $subject) : \Illuminate\Database\Eloquent\Builder|\Spatie\Activitylog\Models\Activity

Parameters

\Illuminate\Database\Eloquent\Model $subject

Returns

\Illuminate\Database\Eloquent\Builder|\Spatie\Activitylog\Models\Activity

inLog()

inLog(mixed  $logNames) : \Illuminate\Database\Eloquent\Builder|\Spatie\Activitylog\Models\Activity

Parameters

mixed $logNames

Returns

\Illuminate\Database\Eloquent\Builder|\Spatie\Activitylog\Models\Activity

newModelQuery()

newModelQuery() : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

newQuery()

newQuery() : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

query()

query() : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

whereCauserId()

whereCauserId(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

whereCauserType()

whereCauserType(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

whereCreatedAt()

whereCreatedAt(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

whereDescription()

whereDescription(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

whereId()

whereId(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

whereLogName()

whereLogName(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

whereProperties()

whereProperties(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

whereSubjectId()

whereSubjectId(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

whereSubjectType()

whereSubjectType(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity

whereUpdatedAt()

whereUpdatedAt(mixed  $value) : \Illuminate\Database\Eloquent\Builder|\App\Models\Activity

Parameters

mixed $value

Returns

\Illuminate\Database\Eloquent\Builder|\App\Models\Activity