Advertisement
Guest User

PShopWs.php

a guest
Feb 21st, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #file vendor/kusflo/prestashop-webservice/src/Entities/PShopWs.php
  2.  
  3. protected function get($options = null)
  4. {
  5. $response = $this->client->request('GET', $this->getValidUrl($options), [
  6. 'headers' => [
  7. 'auth' => [$this->key]
  8. ]
  9. ]);
  10. PShopWsException::checkStatusCode($response->getStatusCode());
  11.  
  12. return $this->parseXML($response->getBody());
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement