6 public static function autoload($class)
8 $file = str_replace(array('\\', '_'), '/', $class)
10 if (stream_resolve_include_path($file)) {
15 public static function register()
17 set_include_path(__DIR__ . '/../' . PATH_SEPARATOR . get_include_path());
18 spl_autoload_register('phinde\\Autoloader::autoload');