Skip to content

Conversation

javiereguiluz
Copy link
Member

No description provided.


<!-- templates/Hello/index.html.php -->
<?php $view->extend('AppBundle::layout.html.php') ?>
<!-- templates/hello/index.html.php -->
Copy link
Member

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/

Copy link
Member Author

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.

Copy link
Member

@yceruto yceruto left a 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

@javiereguiluz
Copy link
Member Author

@yceruto I've created #8741 to not forget about this. Thanks!

@weaverryan weaverryan merged commit 550cd58 into symfony:4.0 Nov 27, 2017
weaverryan added a commit that referenced this pull request Nov 27, 2017
This PR was squashed before being merged into the 4.0 branch (closes #8734). Discussion ---------- Updated templating/* articles to Symfony 4 Commits ------- 550cd58 Fixed PHP templates location d0ede99 Updated templating/* articles to Symfony 4
weaverryan added a commit that referenced this pull request Nov 27, 2017
* 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 ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants