Skip to content

Commit 216ae51

Browse files
Darien Hagerweaverryan
Darien Hager
authored andcommitted
Add a cautionary note telling users where the "standard" data-collector names can be found.
1 parent f0ced91 commit 216ae51

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cookbook/profiler/data_collector.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ populate the ``$this->data`` property (it takes care of serializing the
7070
return 'example_memory';
7171
}
7272
}
73+
74+
.. caution::
75+
76+
The string you use with `getName()` should not collide with standard data-
77+
collectors, such as those within the
78+
`Symfony\Component\HttpKernel\DataCollector\` package.
7379

7480
.. _data_collector_tag:
7581

0 commit comments

Comments
 (0)