> */ private array $resolved = []; /** @return array */ public function for(string $provider): array { if (! isset($this->resolved[$provider])) { $this->resolved[$provider] = array_replace( config('services.'.$provider, []), IntegrationSetting::find($provider)?->settings ?? [], ); } return $this->resolved[$provider]; } }