Barryvdh\Debugbar\DataCollector\FilesCollector::stripBasePath PHP Method

stripBasePath() protected method

Remove the basePath from the paths, so they are relative to the base
protected stripBasePath ( $path ) : string
$path
return string
    protected function stripBasePath($path)
    {
        return ltrim(str_replace($this->basePath, '', $path), '/');
    }