code: public function register()
      {
          $this->app->singleton('GooglePlaces', function ($app) {
              $key = isset($app['config']['google.places.key'])
                  ? $app['config']['google.places.key'] : null;
              
              $verifySSL = isset($app['config']['google.places.verify_ssl'])
                  ? $app['config']['google.places.verify_ssl'] : true;
              
              $headers = isset($app['config']['google.places.headers'])
                  ? $app['config']['google.places.headers'] : [];
  
              return new PlacesApi($key, $verifySSL, $headers);
          });
      }
docs: Register the service provider.
  
  @return void