public function register($prepend = FALSE) { $this->loadCache(); spl_autoload_register([$this, 'tryLoad'], TRUE, (bool) $prepend); return $this; }
/** * Initializes the plugin autoloader. */ public function beforeCompile() { foreach ($this->containerBuilder->parameters['plugins'] as $definition) { $this->loader->addDirectory($definition['location']); } $this->loader->register(); }