PHP Interface OwenIt\Auditing\Contracts\Auditable

Afficher le fichier Open project: owen-it/laravel-auditing Interface Usage Examples

Méthodes publiques

Méthode Description
auditCreation ( ) : void Audit creation.
auditDeletion ( ) : void Audit deletion.
auditUpdate ( ) : void Audit updated.
clearOlderAudits ( ) : void Clear the oldest audit's if given a limit.
getAuditors ( ) : array Get the Auditors.
prepareAudit ( ) : void Prepare audit model.
toAudit ( ) : array Return data for Audit.
transformAudit ( array $data ) : array Allows transforming the audit data before it's passed to the database.

Method Details

auditCreation() public méthode

Audit creation.
public auditCreation ( ) : void
Résultat void

auditDeletion() public méthode

Audit deletion.
public auditDeletion ( ) : void
Résultat void

auditUpdate() public méthode

Audit updated.
public auditUpdate ( ) : void
Résultat void

clearOlderAudits() public méthode

Clear the oldest audit's if given a limit.
public clearOlderAudits ( ) : void
Résultat void

getAuditors() public méthode

Get the Auditors.
public getAuditors ( ) : array
Résultat array

prepareAudit() public méthode

Prepare audit model.
public prepareAudit ( ) : void
Résultat void

toAudit() public méthode

Return data for Audit.
public toAudit ( ) : array
Résultat array

transformAudit() public méthode

Allows transforming the audit data before it's passed to the database.
public transformAudit ( array $data ) : array
$data array
Résultat array