protected function registerWhoops()
    {
        $whoops = new \Whoops\Run;
        $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
        $whoops->register();
    }
protected function registerWhoops()
    {
        $whoops = new \Whoops\Run;
        $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
        $whoops->register();
    }
protected function registerWhoops ( ) { $ whoops = new \ Whoops \ Run ; $ whoops -> pushHandler ( new \ Whoops \ Handler \ PrettyPageHandler ) ; $ whoops -> register ( ) ; }
Register Whoops error handler.
Register Whoops error handler .