-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Updated templating/* articles to Symfony 4 #8734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
templating/PHP.rst
Outdated
@@ -196,8 +173,8 @@ decorating the template. In the ``index.html.php`` template, define a | |||
|
|||
.. code-block:: html+php | |||
|
|||
<!-- templates/Hello/index.html.php --> | |||
<?php $view->extend('AppBundle::layout.html.php') ?> | |||
<!-- templates/hello/index.html.php --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that templating php engine does not supports the paths provided by Twig. See related issue symfony/symfony#25019, So it should be here src/Resources/views/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reviewing and for reporting this error! I wasn't sure about this PHP part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! :)
Surely unrelated but could you please add some note in overriding section where we talking about the use of @!
to override a template partially? Thanks! #8440
* 4.0: (36 commits) Update event_listeners_subscribers.rst Update event_listeners_subscribers.rst [#8683] Tweaks based on feedback [#8643] Removing default values [#8734][#8736] Adding missing installation details fixes thanks to the team! add missing link target for Ansistrano Restored the Assetic tags because they are removed in another PR Corrected a spelling error. Updated Doctrine config reference about bundles Fixed PHP form theme resources Remove App\Bridge\Doctrine\ namespace Fixed the last references to security.yml Updated the main security article Updated security/* articles to Symfony 4 (WIP) Updated security/* articles to Symfony 4 Fixing build problems tweaks thanks to @yceruto updating the rest of the Doctrine docs Update Custom UsernamePasswordToken Authenticator ...
No description provided.