예제 #1
0
 public function __construct(ClassLoader $innerLoader)
 {
     parent::__construct();
     $this->innerLoader = $innerLoader;
 }
예제 #2
0
 /**
  * Creates a new auto-loader.
  *
  * Call $this->register() to register the loader after instanciation
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->definitions = [];
     $this->handle = [$this, 'loadClass'];
 }