code: public function getRenderSettingFactory()
      {
          // @codingStandardsIgnoreStart
          @trigger_error(
              '"' .__METHOD__ . '" is deprecated as the service container will get removed.',
              E_USER_DEPRECATED
          );
          // @codingStandardsIgnoreEnd
  
          if (\is_callable($this->renderFactory)) {
              $this->renderFactory = \call_user_func($this->renderFactory);
              $this->renderFactory->setServiceContainer($this, false);
          }
  
          return $this->renderFactory;
      }
docs: {@inheritdoc}
  
  @deprecated The service container will get removed, use the symfony service container instead.