customerConfig = $configProvider->getConfig('customer'); } public function loadCustomerData(): array { $response = $this->createGet( $this->customerConfig->getCustomerUri() ); return json_decode($response->getBody(), true); } }