Thanks to visit codestin.com Credit goes to github.com
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 4ce8f47 commit cbd86ceCopy full SHA for cbd86ce
cookbook/templating/namespaced_paths.rst
@@ -74,6 +74,13 @@ directory:
74
);
75
));
76
77
+.. caution::
78
+
79
+ Prior to 2.8, templates in custom namespaces are not pre-compiled by
80
+ Symfony's cache warmup process. They are compiled on demand. This may
81
+ cause problems if two simultaneous requests are trying to use the
82
+ template for the first time.
83
84
The registered namespace is called ``foo_bar``, which refers to the
85
``vendor/acme/foo-bar/templates`` directory. Assuming there's a file
86
called ``sidebar.twig`` in that directory, you can use it easily:
0 commit comments