code: private function composeCircularDependencyTrace($circularDependencyName, array $registered)
      {
          $dependencyTrace = [];
          $startFound = false;
          foreach ($registered as $name => $value) {
              if ($name === $circularDependencyName) {
                  $startFound = true;
              }
              if ($startFound && $value === false) {
                  $dependencyTrace[] = $name;
              }
          }
          $dependencyTrace[] = $circularDependencyName;
          return implode(' -> ', $dependencyTrace);
      }
docs: Composes trace info for bundle circular dependency.
  @param string $circularDependencyName name of the bundle, which have circular dependency
  @param array $registered list of bundles registered while detecting circular dependency.
  @return string bundle circular dependency trace string.