6 public function load($class)
8 $file = strtr($class, '_\\', '//') . '.php';
9 if (stream_resolve_include_path($file)) {
14 public static function register()
17 get_include_path() . PATH_SEPARATOR . __DIR__ . '/../'
19 spl_autoload_register(array(new self(), 'load'));