public static function createDefault(bool $debugMode = true)
    {
        $block = new HtmlBlock();
        $template = new DefaultSplashTemplate($block);

        return new self($template, $block, $debugMode);
    }
public static function createDefault(bool $debugMode = true)
    {
        $block = new HtmlBlock();
        $template = new DefaultSplashTemplate($block);

        return new self($template, $block, $debugMode);
    }
public static function createDefault ( bool $ debugMode = true ) { $ block = new HtmlBlock ( ) ; $ template = new DefaultSplashTemplate ( $ block ) ; return new self ( $ template , $ block , $ debugMode ) ; }
Creates a default controller.

@param bool $debugMode

@return HttpErrorsController
Creates a default controller .