1
0
Fork 0

Merge remote-tracking branch 'pminnieur/classloader'

pull/165/merge
Jordi Boggiano 2011-12-21 16:00:52 +01:00
commit 16093fdfeb
1 changed files with 3 additions and 1 deletions

View File

@ -83,11 +83,13 @@ class ClassLoader
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return Boolean|null True, if loaded
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
require $file;
return true;
}
}
@ -134,4 +136,4 @@ class ClassLoader
}
}
}
}
}