Files
cachet-docker/src/Models/WebHookResponse.php
Graham Campbell 0016968763 Revert "Fix Carbon docbloc"
This reverts commit 986c724356.
2015-01-02 12:18:16 +00:00

31 lines
755 B
PHP

<?php
namespace CachetHQ\Cachet\Models;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $id
* @property int $hook_id
* @property int $response_code
* @property string $sent_headers
* @property string $sent_body
* @property string $recv_headers
* @property string $recv_body
* @property float $time_taken
* @property Carbon\Carbon $created_at
* @property Carbon\Carbon $updated_at
*/
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');
}
}