/** * @param string $path * * @return string */ protected function formatPath($path) { $rootPath = $this->configuration->getRootPath(); $path = str_replace($rootPath, null, $path); return $path; }