-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
status:ready for adoptionFeel free to implement this issue.Feel free to implement this issue.
Milestone
Description
There are a few checks that disable data collecting:
But they do not unwrap proxied classes, like \Yiisoft\Yii\Debug\Collector\LoggerInterfaceProxy or any other.
Also they do not unsubscribe from event-dispatcher.
It may negatively impact performance.
An idea to control if data collecting is skipped:
- Create a proxy class for
*InterfaceProxyclasses - All
*InterfaceProxymust expose decorated class - If data collecting is skipped, call
$proxy->getDecorated()->$method($args)directly - Otherwise call
$proxy->$method($args)
Or add check is data collecting is skipped to each public method of proxy classes
Metadata
Metadata
Assignees
Labels
status:ready for adoptionFeel free to implement this issue.Feel free to implement this issue.