8000 Updated the article about data collectors by javiereguiluz · Pull Request #5592 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Updated the article about data collectors #5592

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 4 commits into from
Oct 10, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed some issues
  • Loading branch information
javiereguiluz committed Sep 23, 2015
commit 69bd67736939831a5b17189ee9bf8acedaadab1d
8 changes: 4 additions & 4 deletions cookbook/profiler/data_collector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ the ``data_collector`` tag in your service configuration:
name: data_collector
template: 'data_collector/template.html.twig'
id: 'app.my_collector'
public: false
public: false

.. code-block:: xml

Expand All @@ -258,8 +258,8 @@ the ``data_collector`` tag in your service configuration:
http://symfony.com/schema/dic/services/services-1.0.xsd"
>
<services>
<service id="app.my_collector" class="AppBundle\DataCollector\MyCollector">
<tag name="data_collector" template="data_collector/template.html.twig" id="app.my_collector" public="false" />
<service id="app.my_collector" class="AppBundle\DataCollector\MyCollector" public="false">
<tag name="data_collector" template="data_collector/template.html.twig" id="app.my_collector" />
</service>
</services>
</container>
Expand Down Expand Up @@ -293,7 +293,7 @@ want your collector to be displayed before them, use a higher value:
app.my_collector:
class: AppBundle\DataCollector\MyCollector
tags:
- { name: data_collector, template: '...', id: '...', priority: '300' }
- { name: data_collector, template: '...', id: '...', priority: 300 }

.. code-block:: xml

Expand Down
0