Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 protected function registerPackages()
 {
     parent::registerPackages();
     foreach ($this->getConfig()->get('app.packages.cli', []) as $class) {
         $this->setPackage($class);
     }
 }
Beispiel #2
0
 /**
  * Returns the application instance.
  *
  * @return \Elegant\Application\Application
  */
 function app()
 {
     return Application::getInstance();
 }