[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/twig/twig/src/Node/ -> SandboxedPrintNode.php (summary)

(no description)

File Size: 69 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SandboxedPrintNode:: (2 methods):
  compile()
  removeNodeFilter()


Class: SandboxedPrintNode  - X-Ref

Adds a check for the __toString() method when the variable is an object and the sandbox is activated.

When there is a simple Print statement, like {{ article }},
and if the sandbox is enabled, we need to check that the __toString()
method is allowed if 'article' is an object.

Not used anymore, to be deprecated in 2.x and removed in 3.0

compile(Compiler $compiler)   X-Ref
No description

removeNodeFilter(Node $node)   X-Ref
Removes node filters.

This is mostly needed when another visitor adds filters (like the escaper one).

return: Node



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1