public function display(array
$context =
[]) { // using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
$this->template->
display($context, \
func_get_args()[1
] ??
[]);
} public function hasBlock(string
$name, array
$context =
[]): bool
{ return $this->template->
hasBlock($name,
$context);
} /**
* @return string[] An array of defined template block names
*/
public function getBlockNames(array
$context =
[]): array
{ return $this->template->
getBlockNames($context);
} public function renderBlock(string
$name, array
$context =
[]): string
{