public function __construct($validateResponse = true) { if (!extension_loaded('xmlreader')) { throw MissingExtensionException::extensionMissing('xmlreader'); } $this->validateResponse = $validateResponse; }
public function __construct() { if (!extension_loaded('xmlwriter')) { throw MissingExtensionException::extensionMissing('xmlwriter'); } $this->writer = new XMLWriter(); $this->writer->openMemory(); }
public function __construct() { if (!extension_loaded('xmlrpc')) { throw MissingExtensionException::extensionMissing('xmlrpc'); } }