Yaffs site version 1.1
[yaffs-website] / vendor / symfony / console / Output / ConsoleOutputInterface.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\Console\Output;
13
14 /**
15  * ConsoleOutputInterface is the interface implemented by ConsoleOutput class.
16  * This adds information about stderr output stream.
17  *
18  * @author Dariusz Górecki <darek.krk@gmail.com>
19  */
20 interface ConsoleOutputInterface extends OutputInterface
21 {
22     /**
23      * Gets the OutputInterface for errors.
24      *
25      * @return OutputInterface
26      */
27     public function getErrorOutput();
28
29     /**
30      * Sets the OutputInterface used for errors.
31      *
32      * @param OutputInterface $error
33      */
34     public function setErrorOutput(OutputInterface $error);
35 }