setUpRenderRecursionComplexElements example

return [$complex_child_markup$parent_markup$complex_child_template];
  }

  /** * ::renderRoot() may not be called inside of another ::renderRoot() call. * * @covers ::renderRoot * @covers ::render * @covers ::doRender */
  public function testRenderRecursionWithNestedRenderRoot() {
    [$complex_child_markup$parent_markup$complex_child_template] = $this->setUpRenderRecursionComplexElements();
    $renderer = $this->renderer;
    $this->setUpRequest();

    $complex_child = $complex_child_template;
    $callable = function D) use ($renderer$complex_child) {
      $this->expectException(\LogicException::class);
      $renderer->renderRoot($complex_child);
    };

    $page = [
      'content' => [
        
Home | Imprint | This part of the site doesn't use cookies.