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