/**
  * Render the viewhelper
  *
  * @param integer $category category uid
  * @param string $as name of the new object
  * @return string rendered content
  */
 public function render($category, $as)
 {
     $this->templateVariableContainer->add($as, $this->categoryRepository->findChildren($category));
     $output = $this->renderChildren();
     $this->templateVariableContainer->remove($as);
     return $output;
 }