FluidTYPO3\Vhs\ViewHelpers\TryViewHelper::render PHP Method

render() public method

public render ( ) : mixed
return mixed
    public function render()
    {
        try {
            $content = $this->renderThenChild();
            if (true === empty($content)) {
                $content = $this->renderChildren();
            }
        } catch (\Exception $error) {
            $content = $this->renderChildrenWithVariables(array('exception' => $error));
        }
        return $content;
    }
TryViewHelper