ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Twig_CompilerInterface Interface Reference

Interface implemented by compiler classes. More...

+ Inheritance diagram for Twig_CompilerInterface:
+ Collaboration diagram for Twig_CompilerInterface:

Public Member Functions

 compile (Twig_NodeInterface $node)
 Compiles a node. More...
 
 getSource ()
 Gets the current PHP code after compilation. More...
 

Detailed Description

Interface implemented by compiler classes.

Author
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
Deprecated:
since 1.12 (to be removed in 3.0)

Definition at line 19 of file CompilerInterface.php.

Member Function Documentation

◆ compile()

Twig_CompilerInterface::compile ( Twig_NodeInterface  $node)

Compiles a node.

Returns
$this

◆ getSource()

Twig_CompilerInterface::getSource ( )

Gets the current PHP code after compilation.

Returns
string The PHP code

Implemented in Twig_Compiler.


The documentation for this interface was generated from the following file: