src/Neutrino/Debug/Debugger.php
public static function registerProfiler($name, $icon = null)
    {
        if (isset(self::$profilers[$name])) {
            return self::$profilers[$name]['profiler'];
        }

        self::$profilers[$name] = [
          'icon' => $icon,
          'profiler' => $profiler = new Profiler()
        ];

        return $profiler;
    }
public static function registerProfiler($name, $icon = null)
    {
        if (isset(self::$profilers[$name])) {
            return self::$profilers[$name]['profiler'];
        }

        self::$profilers[$name] = [
          'icon' => $icon,
          'profiler' => $profiler = new Profiler()
        ];

        return $profiler;
    }
@param string $name
@param string|null $icon

@return \Phalcon\Db\Profiler