/**
  * @param AbstractViewHelper $viewHelper
  * @return void
  */
 protected function injectDependenciesIntoViewHelper(AbstractViewHelper $viewHelper)
 {
     $viewHelper->setRenderingContext($this->renderingContext);
     $viewHelper->setArguments($this->arguments);
     if ($viewHelper instanceof AbstractTagBasedViewHelper) {
         $viewHelper->injectTagBuilder($this->tagBuilder);
     }
 }