I did it in such a way where I’m not messing with the other methods or
classes to get what I wanted.
I realize that there maybe no need for the child context, however when
trying a permutation of
```
'fn' => function($data = null) use($context, $template) {
$context->push($context->last());
if(is_array($data)) {
$context->push($data);
}
$template->setStopToken('else');
$buffer = $template->render($context);
$template->setStopToken(false);
$template->discard($context);
if(is_array($data)) {
$context->pop();
}
$context->pop();
return $buffer;
}
```
It didn’t parse the `../../../test` correctly in the test. I figured
that the ChildContext is a nice pattern overall and doesn’t interfere
with the rest of the package anyways…