Example #1
0
 /**
  * Interface of registering ClassLoader
  *
  * @access public
  *
  * @param  string $namespace
  * @param  string $path
  * @param  null|array $options Optional
  */
 public static function register($namespace, $path, $options = null, $prepend = false)
 {
     $self = new self($namespace, $path, $options);
     if ($self->path) {
         $self->_autoload_register($prepend);
     }
 }