We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0437248 commit ebddb78Copy full SHA for ebddb78
reference/constraints/Callback.rst
@@ -251,6 +251,13 @@ constructor of the Callback constraint::
251
}
252
253
254
+.. warning::
255
+
256
+ Using a ``Closure`` together with annotation configuration will disable the
257
+ annotation cache for that class/property/methods because ``Closure``s cannot
258
+ be cached. For best performance, it is recommended to use a static callback
259
+ method.
260
261
Options
262
-------
263
0 commit comments