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