<?php namespace JTGrimes\LaravelDB2;

use Illuminate\Support\ServiceProvider;

class DB2ServiceProvider extends ServiceProvider
{
    public function boot()
    {
        $this->app['db']->extend('db2', function ($config) {
            return new DB2Connection(
                $config['dbname'],
                $config['username'],
                $config['password'],
                $config['db2_options']
            );
        });
    }
}

<?php namespace JTGrimes\LaravelDB2;

use Illuminate\Support\ServiceProvider;

class DB2ServiceProvider extends ServiceProvider
{
    public function boot()
    {
        $this->app['db']->extend('db2', function ($config) {
            return new DB2Connection(
                $config['dbname'],
                $config['username'],
                $config['password'],
                $config['db2_options']
            );
        });
    }

    public function register()
    {
        // nothing to see here.
    }
}

Add missing function in service provider
Add missing function in service provider
