@wpkernel/php-json-ast v0.12.6-beta.3
@wpkernel/php-json-ast / buildUseUse
Function: buildUseUse()
ts
function buildUseUse(
name,
alias,
options): PhpStmtUseUse;Builds a PHP use item node.
Parameters
name
The name of the item being used.
alias
An optional alias for the item.
PhpIdentifier | null
options
Optional configuration for the use item (type, attributes).
attributes?
Readonly<Record<string, unknown>>
type?
number
Returns
A PhpStmtUseUse node.
