Files
Twig/doc
Fabien Potencier b2f449f14e feature #3025 Add the possibility to register classes/interface as being safe (fabpot)
This PR was squashed before being merged into the 2.x branch (closes #3025).

Discussion
----------

Add the possibility to register classes/interface as being safe

closes #2548

To avoid a too big performance impact on the escaper, we aggressively cache the safe classes, which means that changing the. configuration at runtime is not possible (and having different ones on 2 Twig instances is not possible either, this is really *globally* configured).

Commits
-------

fe6503fe -
b18733bc added the possibility to register classes/interfaces as being safe for the escaper
2019-05-25 12:23:33 +02:00
..
2019-05-22 15:59:33 +02:00
2019-04-25 14:27:37 +02:00
2019-05-18 15:49:29 +02:00
2019-04-25 14:27:37 +02:00
2019-04-27 16:57:11 +01:00
2019-04-25 12:14:46 +02:00
…
2019-04-27 15:54:47 +01:00
2019-04-27 16:57:11 +01:00
2019-04-27 16:57:11 +01:00
2019-04-27 16:57:11 +01:00
2019-05-18 10:44:15 +02:00