InteractorInterface.php 570 B

123456789101112131415161718
  1. <?php
  2. namespace Consolidation\AnnotatedCommand\Hooks;
  3. use Consolidation\AnnotatedCommand\AnnotationData;
  4. use Symfony\Component\Console\Input\InputInterface;
  5. use Symfony\Component\Console\Output\OutputInterface;
  6. /**
  7. * Interactively supply values for missing required arguments for
  8. * the current command. Note that this hook is not called if
  9. * the --no-interaction flag is set.
  10. *
  11. * @see HookManager::addInteractor()
  12. */
  13. interface InteractorInterface
  14. {
  15. public function interact(InputInterface $input, OutputInterface $output, AnnotationData $annotationData);
  16. }