File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ class AppExtension extends AbstractExtension
2929
3030 public function __construct (string $ locales )
3131 {
32+ // See config/services.yaml for default $locales binding
3233 $ localeCodes = explode ('| ' , $ locales );
3334 sort ($ localeCodes );
3435 $ this ->localeCodes = $ localeCodes ;
Original file line number Diff line number Diff line change 2121 * CAUTION: this is an extremely advanced Twig extension. It's used to get the
2222 * source code of the controller and the template used to render the current
2323 * page. If you are starting with Symfony, don't look at this code and consider
24- * studying instead the code of the src/App/ Twig/AppExtension.php extension.
24+ * studying instead the code of the src/Twig/AppExtension.php extension.
2525 *
2626 * @author Ryan Weaver <weaverryan@gmail.com>
2727 * @author Javier Eguiluz <javier.eguiluz@gmail.com>
You can’t perform that action at this time.
0 commit comments