We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b40da commit 3bc26d7Copy full SHA for 3bc26d7
README.md
@@ -138,6 +138,14 @@ $isoCodes = new IsoCodesFactory(null, new GettextExtensionDriver());
138
139
// symfony driver
140
$driver = new SymfonyTranslationDriver();
141
+
142
+// You can also specify a cache directory for better performance. If you are
143
+// using the SymfonyTranslationDriver within a Symfony project, you can inject
144
+// the `%kernel.cache_dir%/translations` value.
145
+$cacheDir = '...';
146
147
+$driver = new SymfonyTranslationDriver($cacheDir)
148
149
$driver->setLocale('uk_UA');
150
151
$isoCodes = new IsoCodesFactory(
0 commit comments