protected registerRepository ( ) |
protected function registerRepository()
{
$this->app->singleton('mapping.repository', function ($app) {
$table = $app['config']['plastic.mappings'];
return new Mappings($app['db'], $table);
});
}