Example #1
0
 /**
  * Constructor
  *
  * @param $clientId
  * @param $clapiKey
  */
 public function __construct(Configuration $configuration)
 {
     $this->soapClient = new \SoapClient(null, array('location' => Configuration::URL, 'uri' => Configuration::URL, 'trace' => 1, 'cache_wsdl' => WSDL_CACHE_NONE));
     $this->auth($configuration->getClientId(), $configuration->getClapiKey(), null);
 }