Skip to content

Commit

Permalink
Add a cautionary note telling users where the "standard" data-collect…
Browse files Browse the repository at this point in the history
…or names can be found.
  • Loading branch information
Darien Hager authored and weaverryan committed May 3, 2015
1 parent f0ced91 commit 216ae51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cookbook/profiler/data_collector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ populate the ``$this->data`` property (it takes care of serializing the
return 'example_memory';
}
}
.. caution::

The string you use with `getName()` should not collide with standard data-
collectors, such as those within the
`Symfony\Component\HttpKernel\DataCollector\` package.

.. _data_collector_tag:

Expand Down

0 comments on commit 216ae51

Please sign in to comment.