ConsoleOutputInterface.php 898 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  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 Symfony\Component\Console\Output;
  11. use Symfony\Component\Console\Output\OutputInterface;
  12. /**
  13. * ConsoleOutputInterface is the interface implemented by ConsoleOutput class.
  14. * This adds information about stderr output stream.
  15. *
  16. * @author Dariusz Górecki <darek.krk@gmail.com>
  17. */
  18. interface ConsoleOutputInterface extends OutputInterface
  19. {
  20. /**
  21. * Gets the OutputInterface for errors.
  22. *
  23. * @return OutputInterface
  24. */
  25. public function getErrorOutput();
  26. /**
  27. * Sets the OutputInterface used for errors.
  28. *
  29. * @param OutputInterface $error
  30. */
  31. public function setErrorOutput(OutputInterface $error);
  32. }