Property | Type | Description | |
---|---|---|---|
$defaultAuditor | string | The default auditor used to audit model. |
Method | Description | |
---|---|---|
audit ( OwenIt\Auditing\Contracts\Auditable $model ) | ||
auditor ( string | null $name = null ) : mixed | Get a auditor instance. | |
getDefaultDriver ( ) |
Method | Description | |
---|---|---|
auditReview ( OwenIt\Auditing\Contracts\Auditable $model, string $auditor ) : boolean | Review audit and determines if the entity can be audited. | |
createDatabaseDriver ( ) : |
Create an instance of the database driver. | |
createDriver ( $driver ) |
public audit ( OwenIt\Auditing\Contracts\Auditable $model ) | ||
$model | OwenIt\Auditing\Contracts\Auditable |
protected auditReview ( OwenIt\Auditing\Contracts\Auditable $model, string $auditor ) : boolean | ||
$model | OwenIt\Auditing\Contracts\Auditable | |
$auditor | string | |
return | boolean |
protected createDatabaseDriver ( ) : |
||
return |
protected string $defaultAuditor | ||
return | string |