REFACTORING #1880 @4h30m: another ugly refactoring commit

This commit is contained in:
Michal Kváček
2016-10-25 16:50:04 +02:00
parent 28f67ffe3c
commit cc999dd24e
71 changed files with 827 additions and 608 deletions
+7 -9
View File
@@ -32,18 +32,16 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
// ignore running from artisan
if (App::runningInConsole()) {
return;
}
$this->registerWidgets();
$this->registerSettings();
$this->registerSearch();
$this->app->bind(IContent::class, ContentRepository::class);
$this->app->bind(IModule::class, ModuleRepository::class);
$this->app->bind(ITemplate::class, TemplateRepository::class);
// ignore running from artisan
if (!App::runningInConsole()) {
$this->registerWidgets();
$this->registerSettings();
$this->registerSearch();
}
}
/**