'; $out .= '' . $this->_renderCaption() . ''; $out .= ''; foreach (array_keys($this->_getColumns()) as $columnLabel) { $out .= '' . $columnLabel . ''; } $out .= ''; foreach ($this->_getTimers() as $timerId) { $out .= ''; foreach ($this->_getColumns() as $columnId) { $out .= '' . $this->_renderColumnValue($timerId, $columnId) . ''; } $out .= ''; } $out .= ''; echo $out; } /** * Render timer id column value * * @param string $timerId * @return string */ protected function _renderTimerId($timerId) { $nestingSep = preg_quote(Magento_Profiler::NESTING_SEPARATOR, '/'); return preg_replace('/.+?' . $nestingSep . '/', '·  ', $timerId); } }