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(string[] $arguments, Kirby\Query\AST\Node $body)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $argumentsrequired | string[] |
no default value | The arguments names |
| $bodyrequired | Kirby\Query\AST\Node |
no default value |