-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
status:ready for adoptionFeel free to implement this issue.Feel free to implement this issue.type:enhancementEnhancementEnhancement
Description
Here was added an integration with yii-queue
.
I think it would be useful to pass a class that called any "queue" methods, such as push()
, status()
and the rest.
Sometimes user may know which class pushed message to a queue, even if the one may be pushed from a few handlers.
I mean the same functionality as in EventDispatcherInterfaceProxy
:
public function dispatch(object $event): object
{
[$callStack] = debug_backtrace();
$this->collector->collect($event, $callStack['file'] . ':' . $callStack['line']);
return $this->dispatcher->dispatch($event);
}
Also the same thing is needed for the ValidatorCollector
Metadata
Metadata
Assignees
Labels
status:ready for adoptionFeel free to implement this issue.Feel free to implement this issue.type:enhancementEnhancementEnhancement