/** * 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(); }
/** * @return ArgumentDefinition[] */ public function getArgumentDefinitions() { return $this->uninitializedViewHelper->prepareArguments(); }