6 $f =
$DIC->ui()->factory();
7 $renderer =
$DIC->ui()->renderer();
9 $sub1 = $f->panel()->sub(
"Sub Panel Title 1", $f->legacy(
"Some Content"))
10 ->withCard($f->card(
"Card Heading")->withSections(array($f->legacy(
"Card Content"))));
11 $sub2 = $f->panel()->sub(
"Sub Panel Title 2", $f->legacy(
"Some Content"));
13 $block = $f->panel()->report(
"Report Title", array($sub1,$sub2));
15 return $renderer->render($block);
An exception for terminatinating execution or to throw for unit testing.