Skip to content
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

Array example needs an explanation in quick_tour/the_view.html #5366

Closed
ThinkALot opened this issue Jun 8, 2015 · 2 comments
Closed

Array example needs an explanation in quick_tour/the_view.html #5366

ThinkALot opened this issue Jun 8, 2015 · 2 comments

Comments

@ThinkALot
Copy link

In this page:

http://symfony.com/doc/current/quick_tour/the_view.html

In this section:

Embedding other Controllers

the 2nd example contains this:

return $this->render('default/top_articles.html.twig', array(
'articles' => $articles,
));

The array needs to be explained. Specifically, how does the array work?

@andesk
Copy link

andesk commented Aug 5, 2015

Isn't the array already explained some paragraphs higher under http://symfony.com/doc/current/quick_tour/the_view.html#getting-familiar-with-twig ? I think there is no need to repeat that.

@javiereguiluz
Copy link
Member

I'm closing because we're going to revamp the Quick Tour entirely and we'll change everything. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants