PutNode
Represents a put node
class Cms\Twig\PutNode
extends Twig\Node\Node
Extends
| Class | Description |
|---|---|
Twig\Node\Node
|
Methods
public
__construct (Twig\Node\Node $body, $name, $endType, $lineno, string $tag = "put")
Parameters
| Property | Type | Description |
|---|---|---|
| $body | Twig\Node\Node |
Twig\Node\Node
|
| $name | mixed |
mixed
|
| $endType | mixed |
mixed
|
| $lineno | mixed |
mixed
|
| $tag | string |
string
|
Returns
mixed
public compile (Twig\Compiler $compiler)
Compiles the node to PHP.
Parameters
| Property | Type | Description |
|---|---|---|
| $compiler | Twig\Compiler |
Twig\Compiler
A TwigCompiler instance |
Returns
mixed
Copyright © 2024 Winter CMS