ProcessRunnerAwareInterface.php 613 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /*
  3. * This file is part of Alchemy\BinaryDriver.
  4. *
  5. * (c) Alchemy <info@alchemy.fr>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Alchemy\BinaryDriver;
  11. interface ProcessRunnerAwareInterface
  12. {
  13. /**
  14. * Returns the current process runner
  15. *
  16. * @return ProcessRunnerInterface
  17. */
  18. public function getProcessRunner();
  19. /**
  20. * Sets a process runner
  21. *
  22. * @param ProcessRunnerInterface $runner
  23. */
  24. public function setProcessRunner(ProcessRunnerInterface $runner);
  25. }