4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Console\Output;
15 * ConsoleOutputInterface is the interface implemented by ConsoleOutput class.
16 * This adds information about stderr output stream.
18 * @author Dariusz Górecki <darek.krk@gmail.com>
20 interface ConsoleOutputInterface extends OutputInterface
23 * Gets the OutputInterface for errors.
25 * @return OutputInterface
27 public function getErrorOutput();
30 * Sets the OutputInterface used for errors.
32 * @param OutputInterface $error
34 public function setErrorOutput(OutputInterface $error);