protected function createDatabaseDriver(array $config)
    {
        return new DatabaseRepository(
            $this->app['db']->connection(Arr::get($config, 'connection')),
            Arr::get($config, 'table')
        );
    }
protected function createDatabaseDriver(array $config)
    {
        return new DatabaseRepository(
            $this->app['db']->connection(Arr::get($config, 'connection')),
            Arr::get($config, 'table')
        );
    }
protected function createDatabaseDriver ( array $ config ) { return new DatabaseRepository ( $ this -> app [ 'db' ] -> connection ( Arr :: get ( $ config , 'connection' ) ) , Arr :: get ( $ config , 'table' ) ) ; }
Create database repository.

@param array $config
@return \Krucas\Settings\Repositories\DatabaseRepository
Create database repository .