src/Debugger/BlueScreen.php
public function isCollapsed(string $file): bool
    {
        $file = \str_replace('\\', '/', $file) . '/';
        foreach ($this->collapsePaths as $path) {
            $path = \str_replace('\\', '/', $path) . '/';
            if (\strpos($file, $path) === 0) {
                return true;
            }
        }

        return false;
    }
public function isCollapsed(string $file): bool
    {
        $file = \str_replace('\\', '/', $file) . '/';
        foreach ($this->collapsePaths as $path) {
            $path = \str_replace('\\', '/', $path) . '/';
            if (\strpos($file, $path) === 0) {
                return true;
            }
        }

        return false;
    }
public function isCollapsed ( string $ file ) : bool { $ file = \ str_replace ( '\\' , '/' , $ file ) . '/' ; foreach ( $ this -> collapsePaths as $ path ) { $ path = \ str_replace ( '\\' , '/' , $ path ) . '/' ; if ( \ strpos ( $ file , $ path ) === 0 ) { return true ; } } return false ; }
Should a file be collapsed in stack trace?

@param  string $file

@return bool
Should a file be collapsed in stack trace?