-
Notifications
You must be signed in to change notification settings - Fork 20
Description
When trying to use wsdlcache in symfony as described in the example wsdlclient12.php of the distribution, I get a redeclaration error.
The source code of this example creates instances of these classes, in this order:
wsdlcache, wsdl, nusoap_client
The autoload_classmap.php generated by composer contains these entries for them:
'wsdlcache' => $vendorDir . '/nusphere/nusoap/lib/class.wsdlcache.php',
'wsdl' => $vendorDir . '/nusphere/nusoap/lib/class.wsdl.php',
'nusoap_client' => $vendorDir . '/nusphere/nusoap/lib/nusoap.php'
The problem is that the declaration of the wsdl class is present in both class.wsdl.php and nusoap.php.
I guess, either nusoap.php should require_once those class declarations that are present in other lib files (instead of carrying a copy of them), or the classmap should map classes that are present in nusoap.php directly to nusoap.php, and not the separate class files.