// Topic Model public function users() { return $this->hasManyThrough('AppUser', 'AppSubscriber', 'subscribable_id')->where('subscribable_type', array_search(static::class, Relation::morphMap()) ?: static::class); }