MyBuilder\Conductor\Command\LockFixerCommand::getRelativePaths PHP Method

getRelativePaths() private method

private getRelativePaths ( Symfony\Component\Filesystem\Filesystem $fileSystem, SplFileInfo $lockFile, array $conductorRealPaths )
$fileSystem Symfony\Component\Filesystem\Filesystem
$lockFile SplFileInfo
$conductorRealPaths array
    private function getRelativePaths(Filesystem $fileSystem, \SplFileInfo $lockFile, array $conductorRealPaths)
    {
        return array_map(function ($conductorPath) use($fileSystem, $lockFile) {
            return $fileSystem->makePathRelative(dirname($conductorPath), dirname($lockFile->getRealPath())) . basename($conductorPath);
        }, $conductorRealPaths);
    }