src/Neutrino/Debug/Debugger.php
public static function internalRender($file, array $params = [])
    {
        if(!isset(self::$view)){
            include __DIR__ . '/helpers/functions.php';
            $view = new View\Simple();
            $view->setDI(new Di());
            $view->setViewsDir(__DIR__ . '/resources/');
            $view->registerEngines(['.html.php' => View\Engine\Php::class]);
            self::$view = $view;
        }

        return self::$view->setVars($params)->render($file);
    }
public static function internalRender($file, array $params = [])
    {
        if(!isset(self::$view)){
            include __DIR__ . '/helpers/functions.php';
            $view = new View\Simple();
            $view->setDI(new Di());
            $view->setViewsDir(__DIR__ . '/resources/');
            $view->registerEngines(['.html.php' => View\Engine\Php::class]);
            self::$view = $view;
        }

        return self::$view->setVars($params)->render($file);
    }
@param string $file
@param array $params

@return string|null