コード例 #1
0
ファイル: StoreApi.php プロジェクト: ClaudioThomas/shopware-4
 /**
  * Starts the client
  */
 protected function startClient()
 {
     $storeApiUrl = Shopware()->Plugins()->Backend()->StoreApi()->Config()->StoreApiUrl;
     if (empty($storeApiUrl)) {
         throw new Shopware_StoreApi_Exception_Exception('there is no store api url configured');
     }
     $this->client->setConfig($this->Config());
     $this->client->startClient($storeApiUrl);
 }