예제 #1
0
 public function register()
 {
     $app = parent::register();
     $this->registerDev();
     $this->isEnabled('metas') && $this->registerMetas();
     $this->isEnabled('debugbar') && $this->registerDebugbar();
     return $app;
 }
예제 #2
0
 public function register()
 {
     $app = parent::register();
     $this->registerDev();
     $this->registerLogger();
     $this->registerDefaultFilesystem();
     $this->registerCodex();
     $this->registerAddons();
     # $this->registerTheme();
     $this->registerJavascriptData();
     if ($this->app['config']->get('codex.http.enabled', false)) {
         $this->registerHttp();
     }
     // After all providers are registered, we also run the plugins, so they are also registered before booting providers.
     $app->booting(function ($app) {
     });
     return $app;
 }