Ejemplo n.º 1
0
 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'));
 }
Ejemplo n.º 2
0
 protected function initialize(InputInterface $input, OutputInterface $output)
 {
     $input->setOption('path', $this->fs->toAbsolutePath($input->getOption('path')));
     $this->fs->validateExists($input->getOption('path'));
 }