diff --git a/src/Bridges/DITracy/ContainerPanel.php b/src/Bridges/DITracy/ContainerPanel.php index b5b3b22f7..6beef5bc2 100644 --- a/src/Bridges/DITracy/ContainerPanel.php +++ b/src/Bridges/DITracy/ContainerPanel.php @@ -49,6 +49,8 @@ public function getPanel() { $container = $this->container; $registry = $this->getContainerProperty('registry'); + $rc = new \ReflectionClass($container); + $file = $rc->getFileName(); $tags = array(); $meta = $this->getContainerProperty('meta'); $services = $meta[Container::SERVICES]; diff --git a/src/Bridges/DITracy/templates/ContainerPanel.panel.phtml b/src/Bridges/DITracy/templates/ContainerPanel.panel.phtml index 798dd2ef3..b7e9516ff 100644 --- a/src/Bridges/DITracy/templates/ContainerPanel.panel.phtml +++ b/src/Bridges/DITracy/templates/ContainerPanel.panel.phtml @@ -3,6 +3,7 @@ namespace Nette\Bridges\DITracy; use Nette, + Tracy\Helpers, Tracy\Dumper; ?> @@ -69,5 +70,7 @@ use Nette,
parameters); ?>
+ +

Source: