WebhookRepositoryInterface
in
webhook / log_webhook テーブルに対する永続化を担うリポジトリのインターフェース。
Table of Contents
Methods
- delete() : void
- deleteLog() : void
- find() : array<string, mixed>|null
- insert() : int
- insertLog() : void
- update() : void
Methods
delete()
public
delete(int $webhookId) : void
Parameters
- $webhookId : int
deleteLog()
public
deleteLog(int $webhookId) : void
Parameters
- $webhookId : int
find()
public
find(int $webhookId) : array<string, mixed>|null
Parameters
- $webhookId : int
Return values
array<string, mixed>|nullinsert()
public
insert(array<string, mixed> $columns) : int
Parameters
- $columns : array<string, mixed>
Return values
int —発行された webhook_id
insertLog()
public
insertLog(array<string, mixed> $columns) : void
Parameters
- $columns : array<string, mixed>
update()
public
update(int $webhookId, array<string, mixed> $columns) : void
Parameters
- $webhookId : int
- $columns : array<string, mixed>