protected function registerBindings()
{
$this->app->bind('FluxBB\\Models\\GroupRepositoryInterface', function ($app) {
return new GroupRepository($app['cache']);
});
$this->app->bind('FluxBB\\Models\\ConfigRepositoryInterface', function ($app) {
return new ConfigRepository($app['cache.store'], $app['Illuminate\\Database\\ConnectionInterface']);
});
$this->app->bind('FluxBB\\Models\\CategoryRepositoryInterface', function ($app) {
return new CategoryRepository($app['Illuminate\\Database\\ConnectionInterface']);
});
$this->app->bind('FluxBB\\Models\\ConversationRepositoryInterface', function ($app) {
return new ConversationRepository($app['Illuminate\\Database\\ConnectionInterface']);
});
}