Commit 6416eb4b authored by Nicolas Widart's avatar Nicolas Widart

Move the menu item registration to the core provider

parent e495ee2a
......@@ -2,8 +2,6 @@
use Illuminate\Support\ServiceProvider;
use Modules\Menu\Entities\Menu;
use Modules\Menu\Entities\Menuitem;
use Modules\Menu\Repositories\Eloquent\EloquentMenuItemRepository;
use Modules\Menu\Repositories\Eloquent\EloquentMenuRepository;
class MenuServiceProvider extends ServiceProvider
......@@ -49,12 +47,6 @@ class MenuServiceProvider extends ServiceProvider
return new EloquentMenuRepository(new Menu);
}
);
$this->app->bind(
'Modules\Menu\Repositories\MenuItemRepository',
function() {
return new EloquentMenuItemRepository(new Menuitem);
}
);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment