-
-
Notifications
You must be signed in to change notification settings - Fork 221
Closed
Description
Tracy v2.5.3, DI v2.4.14
When I setup DI container in this way:
services:
panel: MyPanel
tracy:
bar:
- @paneland I load MyPanel from container before the Tracy is initialized (by @var MyPanel @inject on presenter), the panel service is created twice, because in generated container initialize() is:
$this->getService('tracy.bar')->addPanel($this->createServiceMyPanel());
# IMHO there should be
$this->getService('tracy.bar')->addPanel($this->getService('panel'));If you hint me please in which way I should fix it, I'll send PR.
Metadata
Metadata
Assignees
Labels
No labels