Ejemplo n.º 1
0
 /**
  * Return an array of ArgumentDefinition instances which describe
  * the arguments that the ViewHelper supports. By default, the
  * arguments are simply fetched from the ViewHelper - but custom
  * implementations can if necessary add/remove/replace arguments
  * which will be passed to the ViewHelper.
  *
  * @param ViewHelperInterface $viewHelper
  * @return ArgumentDefinition[]
  */
 public function getArgumentDefinitionsForViewHelper(ViewHelperInterface $viewHelper)
 {
     return $viewHelper->prepareArguments();
 }
Ejemplo n.º 2
0
 /**
  * @return ArgumentDefinition[]
  */
 public function getArgumentDefinitions()
 {
     return $this->uninitializedViewHelper->prepareArguments();
 }