public function __construct(ClassLoader $innerLoader) { parent::__construct(); $this->innerLoader = $innerLoader; }
/** * 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']; }