Debian Codegraph @

vendor/symfony/console/Output/ConsoleOutputInterface.php

raw
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <[email protected]>
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 and section output stream.
17 *
18 * @author Dariusz Górecki <[email protected]>
19 */
20 interface ConsoleOutputInterface extends OutputInterface
21 {
22 /**
23 * Gets the OutputInterface for errors.
24 */
25 public function getErrorOutput(): OutputInterface;
26
27 public function setErrorOutput(OutputInterface $error): void;
28
29 public function section(): ConsoleSectionOutput;
30 }