Skip to content

Kirby 6.0.0

new ClosureNode()

new ClosureNode() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

new ClosureNode(list $arguments, Node $body)

Parameters

Name Type Default Description
$argumentsrequired list<string> no default value The arguments names
$bodyrequired Kirby\Query\AST\Node no default value

Parent class

Kirby\Query\AST\ClosureNode