return after loading mapped class in autoloader.

This commit is contained in:
Taylor Otwell
2012-04-10 09:48:54 -05:00
parent b7ac1b75af
commit 60b5e38ca0
2 changed files with 12 additions and 0 deletions

View File

@@ -61,6 +61,8 @@ class Autoloader {
elseif (isset(static::$mappings[$class]))
{
require static::$mappings[$class];
return;
}
// If the class namespace is mapped to a directory, we will load the