DeprecatedNode
- Type
- Class
- Namespace
- craft\web\twig\nodes
- Inherits
- craft\web\twig\nodes\DeprecatedNode »
Twig\Node\Node
- Since
- 3.7.24
Represents a deprecated node.
View source (opens new window)
# Public Methods
Method | Description |
---|---|
__construct() | Constructor |
compile() | Compiles the node. |
# __construct()
Constructor
View source (opens new window)
Arguments
$expr
(\Twig\Node\Expression\AbstractExpression
)$lineno
(integer (opens new window))$tag
(string (opens new window), null (opens new window))
# compile()
Compiles the node.
View source (opens new window)
Arguments
$compiler
(\Twig\Compiler
)