◆ addDebugInfo()
| addDebugInfo |
( |
Node | $node | ) |
|
◆ compile()
| compile |
( |
Node | $node, |
|
|
int | $indentation = 0 ) |
◆ indent()
◆ outdent()
- Renvoie
- $this
- Exceptions
-
LogicException When trying to outdent too much so the indentation would become negative
◆ raw()
Adds a raw string to the compiled code.
- Renvoie
- $this
◆ repr()
Returns a PHP representation of a given value.
- Renvoie
- $this
◆ reset()
| reset |
( |
int | $indentation = 0 | ) |
|
◆ string()
Adds a quoted string to the compiled code.
- Renvoie
- $this
◆ subcompile()
| subcompile |
( |
Node | $node, |
|
|
bool | $raw = true ) |
◆ write()
Writes a string to the compiled code by adding indentation.
- Renvoie
- $this
La documentation de cette classe a été générée à partir du fichier suivant :
- vendor/twig/twig/src/Compiler.php