Created
May 16, 2014 22:23
-
-
Save develpr/a2cf1fa560f51537ae9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array (size=2) | |
0 => | |
array (size=2) | |
0 => | |
object(Varien_Autoload)[1] | |
protected '_isIncludePathDefined' => boolean false | |
protected '_collectClasses' => boolean false | |
protected '_collectPath' => null | |
protected '_arrLoadedClasses' => | |
array (size=0) | |
... | |
1 => string 'autoload' (length=8) | |
1 => | |
array (size=2) | |
0 => | |
object(Symfony\Component\ClassLoader\UniversalClassLoader)[76] | |
private 'namespaces' => | |
array (size=6) | |
... | |
private 'prefixes' => | |
array (size=0) | |
... | |
private 'namespaceFallbacks' => | |
array (size=0) | |
... | |
private 'prefixFallbacks' => | |
array (size=0) | |
... | |
private 'useIncludePath' => boolean false | |
1 => string 'loadClass' (length=9) |
array (size=2)
0 =>
array (size=2)
0 =>
object(Symfony\Component\ClassLoader\UniversalClassLoader)[76]
private 'namespaces' =>
array (size=6)
...
private 'prefixes' =>
array (size=0)
...
private 'namespaceFallbacks' =>
array (size=0)
...
private 'prefixFallbacks' =>
array (size=0)
...
private 'useIncludePath' => boolean false
1 => string 'loadClass' (length=9)
1 =>
array (size=2)
0 =>
object(Varien_Autoload)[1]
protected '_isIncludePathDefined' => boolean false
protected '_collectClasses' => boolean false
protected '_collectPath' => null
protected '_arrLoadedClasses' =>
array (size=0)
...
1 => string 'autoload' (length=8)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$autoloadFuncs = spl_autoload_functions();
$awsCallback = false;
foreach ($autoloadFuncs as $callback) {
if (is_array($callback) && get_class($callback[0]) == 'Symfony\Component\ClassLoader\UniversalClassLoader') {
$awsCallback = $callback;
break;
}
}
if ($awsCallback) {
spl_autoload_unregister($awsCallback);
spl_autoload_register($awsCallback, null, true);
}