Skip to content

add missing twig dump construct #9042

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

Merged
merged 2 commits into from
Jan 12, 2018
Merged

Conversation

hellomedia
Copy link
Contributor

added missing {% dump foo %} construct, in addition to {{ dump(foo) }}.
The first one if the only one dumping to the debug toolbar.
NB: copy pasted from the var_dumper component doc : https://symfony.com/doc/2.8/components/var_dumper.html

added missing {% dump foo %} construct, in addition to {{ dump(foo) }}.
The first one if the only one dumping to the debug toolbar.
NB: copy pasted from the var_dumper component doc : https://symfony.com/doc/2.8/components/var_dumper.html
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.

Awesome! I didn't know about the dump tag. Thank you!

@javiereguiluz
Copy link
Member

@hellomedia thanks for this contribution! I reworded a bit to make the example more concise, but I love your explanation. Thank you.

@javiereguiluz javiereguiluz merged commit 6e4f084 into symfony:2.8 Jan 12, 2018
javiereguiluz added a commit that referenced this pull request Jan 12, 2018
This PR was merged into the 2.8 branch.

Discussion
----------

add missing twig dump construct

added missing {% dump foo %} construct, in addition to {{ dump(foo) }}.
The first one if the only one dumping to the debug toolbar.
NB: copy pasted from the var_dumper component doc : https://symfony.com/doc/2.8/components/var_dumper.html

Commits
-------

6e4f084 Minor reword
af6b4de add missing twig dump construct
xabbuh pushed a commit that referenced this pull request Jan 12, 2018
This PR was merged into the 2.8 branch.

Discussion
----------

add missing twig dump construct

added missing {% dump foo %} construct, in addition to {{ dump(foo) }}.
The first one if the only one dumping to the debug toolbar.
NB: copy pasted from the var_dumper component doc : https://symfony.com/doc/2.8/components/var_dumper.html

Commits
-------

6e4f084 Minor reword
af6b4de add missing twig dump construct
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull request Jan 13, 2018
* 2.7:
  Fixed a typo in templating/debug.rst
  Mention the SensioGeneratorBundle in the bundles article
  Use stricter syntax when testing
  Fix default value of strict_variables
  minor symfony#9042 add missing twig dump construct (hellomedia, javiereguiluz)
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull request Jan 13, 2018
* 2.8:
  Fixed a typo in templating/debug.rst
  Mention the SensioGeneratorBundle in the bundles article
  Use stricter syntax when testing
  Fix default value of strict_variables
  minor symfony#9042 add missing twig dump construct (hellomedia, javiereguiluz)
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull request Jan 13, 2018
* 3.3:
  Removed some unneeded white spaces
  Fixed a typo in templating/debug.rst
  Mention the SensioGeneratorBundle in the bundles article
  Use stricter syntax when testing
  Fix default value of strict_variables
  minor symfony#9042 add missing twig dump construct (hellomedia, javiereguiluz)
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull request Jan 13, 2018
* 3.4:
  Fixed a typo in var_dumper component
  Removed some unneeded white spaces
  Fixed a typoin templating/debug.rst
  Mention the SensioGeneratorBundle in the bundles article
  Use stricter syntax when testing
  Fix default value of strict_variables
  minor symfony#9042 add missing twig dump construct (hellomedia, javiereguiluz)
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull request Jan 13, 2018
* 4.0:
  Fixed a typo in var_dumper component
  Removed some unneeded white spaces
  Fixed a typo in templating/debug.rst
  Mention the SensioGeneratorBundle in the bundles article
  Use stricter syntax when testing
  Update routing.rst
  Fix default value of strict_variables
  minor symfony#9042 add missing twig dump construct (hellomedia, javiereguiluz)
@hellomedia
Copy link
Contributor Author

@javiereguiluz perfect, thanks.

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

Successfully merging this pull request may close these issues.

4 participants