public function getRelativePath($path) { $realpath = $this->getAbsolutePath($path); return $this->fileSystem->makePathRelative($realpath, $this->getWorkingDir()); }