ApaiIO\Configuration\ConfigurationInterface::getCountry PHP Метод

getCountry() публичный Метод

Gets the country
public getCountry ( ) : string
Результат string
    public function getCountry();

Usage Example

Пример #1
0
 /**
  * Performs the soaprequest
  *
  * @param OperationInterface $operation The operation
  * @param array              $params    Requestparameters 'ParameterName' => 'ParameterValue'
  *
  * @return array The response as an array with stdClass objects
  */
 protected function performSoapRequest(OperationInterface $operation, $params)
 {
     $soapClient = new \SoapClient($this->webserviceWsdl, array('exceptions' => 1));
     $soapClient->__setLocation(str_replace('%%COUNTRY%%', $this->configuration->getCountry(), $this->webserviceEndpoint));
     $soapClient->__setSoapHeaders($this->buildSoapHeader($operation));
     return $soapClient->__soapCall($operation->getName(), array($params));
 }
All Usage Examples Of ApaiIO\Configuration\ConfigurationInterface::getCountry