3 namespace BookStack\Actions;
5 use BookStack\Interfaces\Loggable;
6 use Illuminate\Database\Eloquent\Factories\HasFactory;
7 use Illuminate\Database\Eloquent\Model;
11 * @property string $name
12 * @property string $endpoint
14 class Webhook extends Model implements Loggable
19 * Get the string descriptor for this item.
21 public function logDescriptor(): string
23 return "({$this->id}) {$this->name}";