mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 03:01:32 +00:00
35 lines
738 B
Plaintext
35 lines
738 B
Plaintext
<?php
|
|
|
|
namespace DummyNamespace;
|
|
|
|
use OwenIt\Auditing\Contracts\Audit;
|
|
use OwenIt\Auditing\Contracts\Auditable;
|
|
use OwenIt\Auditing\Contracts\AuditDriver;
|
|
|
|
class DummyClass implements AuditDriver
|
|
{
|
|
/**
|
|
* Perform an audit.
|
|
*
|
|
* @param \OwenIt\Auditing\Contracts\Auditable $model
|
|
*
|
|
* @return \OwenIt\Auditing\Contracts\Audit
|
|
*/
|
|
public function audit(Auditable $model): Audit
|
|
{
|
|
// TODO: Implement the audit logic
|
|
}
|
|
|
|
/**
|
|
* Remove older audits that go over the threshold.
|
|
*
|
|
* @param \OwenIt\Auditing\Contracts\Auditable $model
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function prune(Auditable $model): bool
|
|
{
|
|
// TODO: Implement the pruning logic
|
|
}
|
|
}
|