class Chatter extends Model {
public function customers(): BelongsToMany
{
return $this->belongsToMany(Customer::class)
->withPivot('url', 'status')
->withTimestamps()
->using(ChattingInstance::class);
}
}
class Chatter extends Model {
public function customers(): BelongsToMany
{
return $this->belongsToMany(Customer::class)
->withPivot('url', 'status')
->withTimestamps()
->using(ChattingInstance::class);
}
}