@wpkernel/php-json-ast v0.12.6-beta.3
@wpkernel/php-json-ast / buildFuncCall
Function: buildFuncCall()
ts
function buildFuncCall(
name,
args,
attributes?): PhpExprFuncCall;Builds a PHP function call expression node.
Parameters
name
The name of the function, either a PhpName or an expression.
args
PhpArg[] = []
An array of PhpArg nodes representing the function arguments.
attributes?
Readonly<Record<string, unknown>>
Optional attributes for the node.
Returns
A PhpExprFuncCall node.
