/** * Creates a client instance and eventually sets server address. * Also defines default client settings. * * @param string $url Server address */ public function __construct(string $url = '') { parent::__construct($url); $this->options = ['output_type' => 'xml', 'verbosity' => 'pretty', 'escaping' => ['markup'], 'version' => 'xmlrpc', 'encoding' => 'utf-8']; }
/** * Creates a client instance and eventually sets server address. * Also defines default client settings. * * @param string $url Server address */ public function __construct($url = '') { parent::__construct($url); $this->options = array('output_type' => 'xml', 'verbosity' => 'pretty', 'escaping' => array('markup'), 'version' => 'xmlrpc', 'encoding' => 'utf-8'); }