We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dd0f14 commit 196692fCopy full SHA for 196692f
reference/constraints/Callback.rst
@@ -253,9 +253,10 @@ constructor of the Callback constraint::
253
254
.. warning::
255
256
- When you are using a ``Closure`` or anonymous function, they cannot be cached
257
- like other annotations. For best performance, it is recommended to use a static
258
- callback method.
+ Using a ``Closure`` together with annotation configuration will disable the
+ annotation cache for that class/property/methods because ``Closure``s cannot
+ be cached. For best performance, it is recommended to use a static callback
259
+ method.
260
261
Options
262
-------
0 commit comments