SpacelessNode
Represents a spaceless node.
class System\Twig\SpacelessNode
extends Twig\Node\Node
implements
Twig\Node\NodeOutputInterface
It removes spaces between HTML tags.
Removed in Twig 3.0, but retained in Winter CMS for compatibility.
Extends
Class | Description |
---|---|
Twig\Node\Node
|
Methods
public
__construct (Twig\Node\Node $body, integer $lineno, string $tag = "spaceless"
)
Parameters
Property | Type | Description |
---|---|---|
$body | Twig\Node\Node |
Twig\Node\Node
|
$lineno | integer |
integer
|
$tag | string |
string
|
Returns
mixed
public compile (Twig\Compiler $compiler)
Parameters
Property | Type | Description |
---|---|---|
$compiler | Twig\Compiler |
Twig\Compiler
|
Returns
mixed
Copyright © 2024 Winter CMS