Skip to content

Commit fbbabb1

Browse files
committed
Reworded the explanation about the limitation of enablin PHP templates
1 parent 5e47417 commit fbbabb1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cookbook/templating/PHP.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ shortcut to render the default ``AcmeHelloBundle:Hello:index.html.php`` template
8080
.. caution::
8181

8282
Enabling the ``php`` and ``twig`` template engines simultaneously is
83-
allowed but it will produce an undesirable side effect in your application.
84-
Template namespaces will no longer work except inside Twig templates::
83+
allowed, but it will produce an undesirable side effect in your application:
84+
the ``@`` notation for Twig namespaces will no longer be supported for the
85+
``render()`` method::
8586

8687
public function indexAction()
8788
{

0 commit comments

Comments
 (0)