mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-20 14:36:57 +00:00
b73ab8cfd9
Previously, setEnvironment() called getRuntime(EscaperRuntime::class) eagerly, which prevented overriding EscaperRuntime via a custom runtime loader since Environment::__construct() calls setEnvironment() before any loader can be injected.