protected function initialize(InputInterface $input, OutputInterface $output) { $input->setArgument('from', $this->fs->toAbsolutePath($input->getArgument('from'))); $this->fs->validateExists($input->getArgument('from')); $input->setArgument('to', $this->fs->toAbsolutePath($input->getArgument('to'))); $this->fs->validateExists($input->getArgument('to')); }
protected function initialize(InputInterface $input, OutputInterface $output) { $input->setOption('path', $this->fs->toAbsolutePath($input->getOption('path'))); $this->fs->validateExists($input->getOption('path')); }