TwigNodeMarkdown
extends Node
in package
implements
NodeOutputInterface
Class TwigNodeMarkdown
Table of Contents
Interfaces
- NodeOutputInterface
Methods
- __construct() : mixed
- TwigNodeMarkdown constructor.
- compile() : void
- Compiles the node to PHP.
Methods
__construct()
TwigNodeMarkdown constructor.
public
__construct(Node $body, int $lineno[, string $tag = 'markdown' ]) : mixed
Parameters
- $body : Node
- $lineno : int
- $tag : string = 'markdown'
compile()
Compiles the node to PHP.
public
compile(Compiler $compiler) : void
Parameters
- $compiler : Compiler
-
A Twig Compiler instance