src/Whoops/Handler/PrettyPageHandler.php
protected function getExceptionFrames()
    {
        $frames = $this->getInspector()->getFrames();

        if ($this->getApplicationPaths()) {
            foreach ($frames as $frame) {
                foreach ($this->getApplicationPaths() as $path) {
                    if (strpos($frame->getFile(), $path) === 0) {
                        $frame->setApplication(true);
                        break;
                    }
                }
            }
        }

        return $frames;
    }
protected function getExceptionFrames()
    {
        $frames = $this->getInspector()->getFrames();

        if ($this->getApplicationPaths()) {
            foreach ($frames as $frame) {
                foreach ($this->getApplicationPaths() as $path) {
                    if (strpos($frame->getFile(), $path) === 0) {
                        $frame->setApplication(true);
                        break;
                    }
                }
            }
        }

        return $frames;
    }
protected function getExceptionFrames ( ) { $ frames = $ this -> getInspector ( ) -> getFrames ( ) ; if ( $ this -> getApplicationPaths ( ) ) { foreach ( $ frames as $ frame ) { foreach ( $ this -> getApplicationPaths ( ) as $ path ) { if ( strpos ( $ frame -> getFile ( ) , $ path ) === 0 ) { $ frame -> setApplication ( true ) ; break ; } } } } return $ frames ; }
Get the stack trace frames of the exception that is currently being handled.

@return \Whoops\Exception\FrameCollection;
Get the stack trace frames of the exception that is currently being handled .