src/UpsApiServiceProvider.php
protected function registerLocator()
    {
        $this->app->singleton('ups.locator', function (Container $app) {
            $config = $app->config->get('ups');

            return new Locator(
                $config['access_key'],
                $config['user_id'],
                $config['password'],
                $config['sandbox'],
                null,
                $app->make('log')
            );
        });
    }
protected function registerLocator()
    {
        $this->app->singleton('ups.locator', function (Container $app) {
            $config = $app->config->get('ups');

            return new Locator(
                $config['access_key'],
                $config['user_id'],
                $config['password'],
                $config['sandbox'],
                null,
                $app->make('log')
            );
        });
    }
protected function registerLocator ( ) { $ this -> app -> singleton ( 'ups.locator' , function ( Container $ app ) { $ config = $ app -> config -> get ( 'ups' ) ; return new Locator ( $ config [ 'access_key' ] , $ config [ 'user_id' ] , $ config [ 'password' ] , $ config [ 'sandbox' ] , null , $ app -> make ( 'log' ) ) ; } ) ; }
Register the Locator class.

@return void
Register the Locator class .