protected function createDatabaseRepository(array $config)
    {
        return new DatabaseTokenRepository(
            $this->app['db']->connection($config['connection']),
            $config['table'],
            $this->app['config']['app.key'],
            $config['expires']
        );
    }
protected function createDatabaseRepository(array $config)
    {
        return new DatabaseTokenRepository(
            $this->app['db']->connection($config['connection']),
            $config['table'],
            $this->app['config']['app.key'],
            $config['expires']
        );
    }
protected function createDatabaseRepository ( array $ config ) { return new DatabaseTokenRepository ( $ this -> app [ 'db' ] -> connection ( $ config [ 'connection' ] ) , $ config [ 'table' ] , $ this -> app [ 'config' ] [ 'app.key' ] , $ config [ 'expires' ] ) ; }
Create database token repository.

@param array $config
@return \Krucas\LaravelUserEmailVerification\Contracts\TokenRepositoryInterface
Create database token repository .