MyBuilder\Conductor\Command\LockFixerCommand::execute PHP Метод

execute() защищенный Метод

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $fileSystem = new Filesystem();
        $configuration = $this->getConfiguration();
        $conductorRealPaths = $this->getConductorRealPaths($configuration['artifacts_repository']);
        foreach ($this->createFinder()->in(getcwd()) as $lockFile) {
            $relativePaths = $this->getRelativePaths($fileSystem, $lockFile, $conductorRealPaths);
            if ($this->fixLockFileRealPathsWithRelativePaths($fileSystem, $lockFile, $conductorRealPaths, $relativePaths)) {
                $output->writeln('<info>Fixed lock file</info> "' . $lockFile . '"');
            }
        }
    }