@wpkernel/php-json-ast v0.12.6-beta.3
@wpkernel/php-json-ast / buildInclude
Function: buildInclude()
ts
function buildInclude(
expr,
type,
attributes?): PhpExprInclude;Builds a PHP include or require expression.
Parameters
expr
Path expression to include.
type
Include/require operation type.
attributes?
Readonly<Record<string, unknown>>
Optional attributes for the node.
Returns
A PhpExprInclude node.
