Added TypeConverterCollection in SoapClient

This commit is contained in:
Francis Besset
2011-09-10 19:33:27 +02:00
parent 5790a89571
commit c1c5d31350
4 changed files with 70 additions and 12 deletions

View File

@ -11,14 +11,14 @@ spl_autoload_register(function($class) {
return true;
}
} else if (0 === strpos($class, 'BeSimple\SoapClient\\')) {
} elseif (0 === strpos($class, 'BeSimple\SoapClient\\')) {
$path = __DIR__.'/../src/'.($class = strtr($class, '\\', '/')).'.php';
if (file_exists($path) && is_readable($path)) {
require_once $path;
return true;
}
} else if (0 === strpos($class, 'BeSimple\SoapCommon\\')) {
} elseif (0 === strpos($class, 'BeSimple\SoapCommon\\')) {
$path = __DIR__.'/../vendor/besimple-soapcommon/src/'.($class = strtr($class, '\\', '/')).'.php';
if (file_exists($path) && is_readable($path)) {
require_once $path;