Skip to content

Commit

Permalink
[DI] fix preloading script generation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Mar 17, 2020
1 parent 6b13a47 commit bd446d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Extension/TranslationExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
use Twig\TokenParser\AbstractTokenParser;
use Twig\TwigFilter;

// Help opcache.preload discover always-needed symbols
class_exists(TranslatorInterface::class);

/**
* Provides integration of the Translation component with Twig.
*
Expand Down

0 comments on commit bd446d8

Please sign in to comment.