[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/twig/twig/src/ -> FileExtensionEscapingStrategy.php (summary)

(no description)

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

Defines 1 class

FileExtensionEscapingStrategy:: (1 method):
  guess()


Class: FileExtensionEscapingStrategy  - X-Ref

Default autoescaping strategy based on file names.

This strategy sets the HTML as the default autoescaping strategy,
but changes it based on the template name.

Note that there is no runtime performance impact as the
default autoescaping strategy is set at compilation time.

guess($name)   X-Ref
Guesses the best autoescaping strategy based on the file name.

param: string $name The template name
return: string|false The escaping strategy name to use or false to disable



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