mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-13 11:41:31 +00:00
updated streamline-setup v2
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user