Fix wrap_php_class(); add more tests for wrapping
[plcapi.git] / demo / server / server.php
index c3eedf4..beae193 100644 (file)
@@ -893,6 +893,11 @@ $signatures = array(
 
 );
 
+$wrapper = new \PhpXmlRpc\Wrapper();
+$c = new xmlrpcServerMethodsContainer;
+$moreSignatures = $wrapper->wrap_php_class($c, array('prefix' => 'tests.', 'method_type' => 'all'));
+$signatures = array_merge($signatures, $moreSignatures);
+
 $s = new PhpXmlRpc\Server($signatures, false);
 $s->setdebug(3);
 $s->compress_response = true;