Deploy Ladill Care / deploy (push) Failing after 13s
Healthcare management app: patients, appointments, consultations, lab, pharmacy inventory, billing, and reports at care.ladill.com. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
603 B
PHP
30 lines
603 B
PHP
<?php
|
|
|
|
namespace App\Services\Care;
|
|
|
|
use App\Models\AuditLog;
|
|
use App\Models\Member;
|
|
|
|
class AuditLogger
|
|
{
|
|
public static function record(
|
|
string $ownerRef,
|
|
string $action,
|
|
?int $organizationId = null,
|
|
?string $actorRef = null,
|
|
?string $subjectType = null,
|
|
?int $subjectId = null,
|
|
?array $metadata = null,
|
|
): AuditLog {
|
|
return AuditLog::record(
|
|
$ownerRef,
|
|
$action,
|
|
$organizationId,
|
|
$actorRef,
|
|
$subjectType,
|
|
$subjectId,
|
|
$metadata,
|
|
);
|
|
}
|
|
}
|