public function scopeByDomain(Builder $query, Domain $domain): Builder 	{ 		return $query->where(static function (Builder $query) use ($domain): void { 			$query->where('domain_id', $domain->getKey()); 		}); 	}