PHP Class OwenIt\Auditing\Observers\Audit

Show file Open project: owen-it/laravel-auditing Class Usage Examples

Public Methods

Method Description
created ( OwenIt\Auditing\Contracts\Auditable $model ) : void Handle the created event for the model.
deleted ( OwenIt\Auditing\Contracts\Auditable $model ) : void Handle the deleted event for the model.
saved ( OwenIt\Auditing\Contracts\Auditable $model ) : void Handle the saved event for the model.
saving ( OwenIt\Auditing\Contracts\Auditable $model ) : void Handle the saving event for the model.

Method Details

created() public method

Handle the created event for the model.
public created ( OwenIt\Auditing\Contracts\Auditable $model ) : void
$model OwenIt\Auditing\Contracts\Auditable
return void

deleted() public method

Handle the deleted event for the model.
public deleted ( OwenIt\Auditing\Contracts\Auditable $model ) : void
$model OwenIt\Auditing\Contracts\Auditable
return void

saved() public method

Handle the saved event for the model.
public saved ( OwenIt\Auditing\Contracts\Auditable $model ) : void
$model OwenIt\Auditing\Contracts\Auditable
return void

saving() public method

Handle the saving event for the model.
public saving ( OwenIt\Auditing\Contracts\Auditable $model ) : void
$model OwenIt\Auditing\Contracts\Auditable
return void