private function loadConfig()
    {
        $description = $this->loadResource('service-config');
       
        // initial description building, use api info and build base url
        $description = $description + [
                'baseUrl' => 'https://'.$this->settings['shopUrl'],
                'operations' => [],
                'models' => []
            ];
                        
        // process each of the service description resources defined
        foreach ($description['services'] as $serviceName) {
	        
            $service = $this->loadResource($serviceName);
            $description = $this->loadServiceDescription($service, $description);
        
        }

        // dead weight now, clean it up
        unset($description['services']);
        return $description;
    }
private function loadConfig()
    {
        $description = $this->loadResource('service-config');
       
        // initial description building, use api info and build base url
        $description = $description + [
                'baseUrl' => 'https://'.$this->settings['shopUrl'],
                'operations' => [],
                'models' => []
            ];
                        
        // process each of the service description resources defined
        foreach ($description['services'] as $serviceName) {
	        
            $service = $this->loadResource($serviceName);
            $description = $this->loadServiceDescription($service, $description);
        
        }

        // dead weight now, clean it up
        unset($description['services']);
        return $description;
    }
private function loadConfig ( ) { $ description = $ this -> loadResource ( 'service-config' ) ; // initial description building, use api info and build base url $ description = $ description + [ 'baseUrl' => 'https://' . $ this -> settings [ 'shopUrl' ] , 'operations' => [ ] , 'models' => [ ] ] ; // process each of the service description resources defined foreach ( $ description [ 'services' ] as $ serviceName ) { $ service = $ this -> loadResource ( $ serviceName ) ; $ description = $ this -> loadServiceDescription ( $ service , $ description ) ; } // dead weight now, clean it up unset ( $ description [ 'services' ] ) ; return $ description ; }
Load configuration file and parse resources.

@return array
Load configuration file and parse resources .