diff --git a/src/Bridges/DITracy/ContainerPanel.php b/src/Bridges/DITracy/ContainerPanel.php index b5b3b22f7..e073c0092 100644 --- a/src/Bridges/DITracy/ContainerPanel.php +++ b/src/Bridges/DITracy/ContainerPanel.php @@ -49,6 +49,7 @@ public function getPanel() { $container = $this->container; $registry = $this->getContainerProperty('registry'); + $reflection = new \ReflectionClass($container); $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..a4f54c999 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: getFileName(), $reflection->getStartLine()) ?>