mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-24 19:53:00 +01:00
17 lines
328 B
PHP
17 lines
328 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class WebHookResponse extends Model
|
|
{
|
|
/**
|
|
* Returns the hook that a response belongs to.
|
|
*
|
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
|
*/
|
|
public function hook()
|
|
{
|
|
return $this->belongsTo('WebHook', 'id', 'hook_id');
|
|
}
|
|
}
|