viewHelperVariableContainer->get( RegisterRenderFunctionViewHelper::class, $this->arguments[$argumentName] ); if (!($renderFunction instanceof InvokeRenderFunctionInterface)) { throw new \InvalidArgumentException( 'render function with name "' . $this->arguments[$argumentName] . '" has not been registered.', 1717293038 ); } $this->arguments[$argumentName] = $renderFunction; } }