protected function registerAddons()
 {
     $this->app->instance('codex.addons', $this->addons = Addons\Factory::getInstance());
     $this->addons->setManifestPath($this->app['config']['codex.paths.manifest']);
     $this->addons->scanAndResolveDirectory(__DIR__ . '/Processors');
     $this->addons->scanAndResolveAddonPackages();
 }
Beispiel #2
0
 /**
  * addons method
  * @return \Codex\Addons\Factory
  */
 protected function addons()
 {
     return \Codex\Addons\Factory::getInstance();
 }