code: protected function bindNeomerx()
      {
          $this->app->singleton(Factory::class, function (Application $app) {
              $factory = new Factory($app);
              $factory->setLogger($app->make(LoggerInterface::class));
              return $factory;
          });
  
          $this->app->alias(Factory::class, FactoryInterface::class);
          $this->app->alias(Factory::class, NeomerxFactoryInterface::class);
          $this->app->alias(Factory::class, DocumentFactoryInterface::class);
          $this->app->alias(Factory::class, HandlerFactoryInterface::class);
          $this->app->alias(Factory::class, HttpFactoryInterface::class);
          $this->app->alias(Factory::class, ParserFactoryInterface::class);
          $this->app->alias(Factory::class, SchemaFactoryInterface::class);
          $this->app->alias(Factory::class, StackFactoryInterface::class);
      }
docs: Bind parts of the neomerx/json-api dependency into the service container.
  
  For this Laravel JSON API package, we use our extended JSON API factory.
  This ensures that we can override any parts of the Neomerx JSON API package
  that we want.
  
  As the Neomerx package splits the factories into multiple interfaces, we
  also register aliases for each of the factory interfaces.
  
  The Neomerx package allows a logger to be injected into the factory. This
  enables the Neomerx package to log messages. When creating the factory, we
  therefore set the logger as our application's logger.
  
  @return void