public update ( string | null $scopeType, string | null $namespace, array $parameterScopedVariableMap, array $parameterExpressions, array $bodyExpressions = null ) : static | ||
$scopeType | string | null | |
$namespace | string | null | |
$parameterScopedVariableMap | array | |
$parameterExpressions | array | |
$bodyExpressions | array | |
return | static |
public function processFunction(IFunction $function) { $parameterScopeVariableMap = array_map(function ($variable) { return $this->prefix . $variable; }, $function->getParameterScopedVariableMap()); return $function->update($function->getScopeType(), $function->getNamespace(), $parameterScopeVariableMap, $this->walkAll($function->getParameters()->getAll()), $this->walkAll($function->getBodyExpressions())); }
/** * {@inheritDoc} */ public function processFunction(IFunction $function) { return $function->update($function->getScopeType(), $function->getNamespace(), $function->getParameterScopedVariableMap(), $this->walkAll($function->getParameters()->getAll()), $this->walkAll($function->getBodyExpressions())); }