/** * {@inheritDoc} */ public function visitParameter(Model\Parameter $element, &$handle = null, $eldnah = null) { // make it a placeholder return ':' . $element->getName(); }
/** * {@inheritDoc} */ public function visitParameter(Model\Parameter $element, &$handle = null, $eldnah = null) { return $this->lookupParameter($element->getName()); }
/** * {@inheritDoc} */ public function visitParameter(Model\Parameter $element, &$handle = null, $eldnah = null) { return sprintf('$parameters["%s"]', $element->getName()); }
/** * {@inheritDoc} */ public function visitParameter(Model\Parameter $element, &$handle = null, $eldnah = null) { // FIXME the parameters handling is REALLY hacky $parameterName = $element->getName(); return "'. \$parameters['{$parameterName}'] .'"; }
/** * {@inheritDoc} */ public function visitParameter(Model\Parameter $element, &$handle = null, $eldnah = null) { $handle[] = sprintf('$parameters["%s"]', $element->getName()); // make it a placeholder return '$*'; }