Uh oh!
There was an error while loading. Please reload this page.
[5.x] Cache results of getComputedCallbacks for a given scope - #9640
Conversation
jasonvarga
left a comment
There was a problem hiding this comment.
Please target master and adjust the PR title to show [5.x].
getComputedCallbacks for a given scopegetComputedCallbacks for a given scope
jasonvarga
left a comment
There was a problem hiding this comment.
I don't think this is suitable. Maybe if the blink key also contained the class name.
I know at the moment we only use this trait on collections, but lets say we also used it on taxonomies...
Collection::getComputedCallbacks('foo');
Taxonomy::getComputedCallbacks('foo');These would both return the same items since they share a blink key.
JohnathonKoster
commented
Mar 13, 2024
Blink keys are now prefixed with the calling class name 👍 |
This PR caches the results of
getComputedCallbacksfor a given scope