| 1 | <?php |
||
| 12 | class WebhookLog extends Eloquent |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Make the fields fillable. |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | protected $fillable = ['webhook_id', 'url', 'payload_format', 'payload', 'status', 'response', 'response_format']; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Retrieve the webhook described by the log. |
||
| 23 | * |
||
| 24 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 25 | */ |
||
| 26 | public function webhook() |
||
| 30 | } |
||
| 31 |