mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-24 11:43:33 +01:00
12 lines
266 B
PHP
12 lines
266 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');
|
|
}
|
|
}
|