Airbrake\Client::cleanFilePath PHP Method

cleanFilePath() protected method

protected cleanFilePath ( $filePath )
    protected function cleanFilePath($filePath)
    {
        $projectRoot = $this->configuration->get('projectRoot');
        return empty($projectRoot) ? $filePath : preg_replace("#^{$projectRoot}#", '[project_root]', $filePath);
    }