Nette\Bridges\DITracy\ContainerPanel::getPanel PHP Метод

getPanel() публичный Метод

Renders panel.
public getPanel ( ) : string
Результат string
    public function getPanel()
    {
        $container = $this->container;
        $registry = $this->getContainerProperty('registry');
        $file = (new \ReflectionClass($container))->getFileName();
        $tags = [];
        $meta = $this->getContainerProperty('meta');
        $services = $meta[Container::SERVICES];
        ksort($services);
        if (isset($meta[Container::TAGS])) {
            foreach ($meta[Container::TAGS] as $tag => $tmp) {
                foreach ($tmp as $service => $val) {
                    $tags[$service][$tag] = $val;
                }
            }
        }
        ob_start(function () {
        });
        require __DIR__ . '/templates/ContainerPanel.panel.phtml';
        return ob_get_clean();
    }