first commit
This commit is contained in:
21
app/Facades/Audit.php
Normal file
21
app/Facades/Audit.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Facades;
|
||||
|
||||
use App\Models\AuditLog;
|
||||
use App\Services\Audit\AuditService;
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* @method static AuditLog log(string $eventType, string $action = '', ?string $resource = null, string $result = 'success', array<string, mixed> $details = [])
|
||||
* @method static array<int, mixed> verifyIntegrity()
|
||||
*
|
||||
* @see AuditService
|
||||
*/
|
||||
class Audit extends Facade
|
||||
{
|
||||
protected static function getFacadeAccessor(): string
|
||||
{
|
||||
return AuditService::class;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user