src/IpInfoServiceProvider.php
public function register()
  {
      $this->app->bind('TheLHC\IpInfo\IpInfoInterface', function($app)
      {
          return new IpInfoRepository(new IpInfoInterface());
      });

      $this->app->bind('TheLHC\IpInfo\IpInfo', function($app)
      {
        return new IpInfo(
            $app->make('TheLHC\IpInfo\IpInfoInterface')
        );
      });
  }
public function register()
  {
      $this->app->bind('TheLHC\IpInfo\IpInfoInterface', function($app)
      {
          return new IpInfoRepository(new IpInfoInterface());
      });

      $this->app->bind('TheLHC\IpInfo\IpInfo', function($app)
      {
        return new IpInfo(
            $app->make('TheLHC\IpInfo\IpInfoInterface')
        );
      });
  }
Register the application services.

@return void