Barryvdh\Debugbar\DataCollector\QueryCollector::normalizeFilename PHP 메소드

normalizeFilename() 보호된 메소드

Shorten the path by removing the relative links and base dir
protected normalizeFilename ( string $path ) : string
$path string
리턴 string
    protected function normalizeFilename($path)
    {
        if (file_exists($path)) {
            $path = realpath($path);
        }
        return str_replace(base_path(), '', $path);
    }