/** * @param array $options A array of config values * @param string $wsdl The wsdl file to use */ public function __construct($host, array $options = array(), $wsdl = '/v4_6_release/apis/2.0/ServiceTicketApi.asmx?wsdl') { foreach (self::$classmap as $key => $value) { if (!isset($options['classmap'][$key])) { $options['classmap'][$key] = $value; } } $options = array_merge(array('features' => 1), $options); parent::__construct($host . $wsdl, $options); }
/** * Our way of keeping the hostname out of the code * * @param string $wsdl * @param array $options */ public function __construct($wsdl, array $options = []) { parent::__construct($wsdl, $options); }