protected function getHandler(): Handler
    {
        $handler = new PrettyPageHandler();

        $handler->handleUnconditionally(true);

        foreach ($this->resolvedOptions['blacklist'] as $key => $secrets) {
            foreach ($secrets as $secret) {
                $handler->blacklist($key, $secret);
            }
        }

        $handler->setApplicationPaths($this->resolvedOptions['application_paths']);

        return $handler;
    }
protected function getHandler(): Handler
    {
        $handler = new PrettyPageHandler();

        $handler->handleUnconditionally(true);

        foreach ($this->resolvedOptions['blacklist'] as $key => $secrets) {
            foreach ($secrets as $secret) {
                $handler->blacklist($key, $secret);
            }
        }

        $handler->setApplicationPaths($this->resolvedOptions['application_paths']);

        return $handler;
    }
protected function getHandler ( ) : Handler { $ handler = new PrettyPageHandler ( ) ; $ handler -> handleUnconditionally ( true ) ; foreach ( $ this -> resolvedOptions [ 'blacklist' ] as $ key => $ secrets ) { foreach ( $ secrets as $ secret ) { $ handler -> blacklist ( $ key , $ secret ) ; } } $ handler -> setApplicationPaths ( $ this -> resolvedOptions [ 'application_paths' ] ) ; return $ handler ; }
Get the Whoops handler.

@return \Whoops\Handler\Handler
Get the Whoops handler .