DatabaseHandler
extends AbstractProcessingHandler
in package
Table of Contents
Properties
- $auditLogContext : AuditLogContext|null
- 採番した監査ログ ID を同一リクエスト内の他ハンドラへ共有するためのコンテキスト
Methods
- setAuditLogContext() : void
- 採番した監査ログ ID の共有先コンテキストを設定する
- write() : void
- ログをデータベースに保存
Properties
$auditLogContext
採番した監査ログ ID を同一リクエスト内の他ハンドラへ共有するためのコンテキスト
private
AuditLogContext|null
$auditLogContext
= null
Methods
setAuditLogContext()
採番した監査ログ ID の共有先コンテキストを設定する
public
setAuditLogContext(AuditLogContext $auditLogContext) : void
Parameters
- $auditLogContext : AuditLogContext
write()
ログをデータベースに保存
protected
write(array<string|int, mixed> $record) : void
Parameters
- $record : array<string|int, mixed>