* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Console\Output; use Symfony\Component\Console\Formatter\NullOutputFormatter; use Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * NullOutput suppresses all output. * * $output = new NullOutput(); * * @author Fabien Potencier * @author Tobias Schultze */ class NullOutput implements OutputInterface { private $formatter; /** * {@inheritdoc} */ public function setFormatter(OutputFormatterInterface $formatter) { // do nothing } /** * {@inheritdoc} */ public function getFormatter() { if ($this->formatter) { return $this->formatter; } // to comply with the interface we must return a OutputFormatterInterface return $this->formatter = new NullOutputFormatter(); } /** * {@inheritdoc} */ public function setDecorated(bool $decorated) { // do nothing } /** * {@inheritdoc} */ public function isDecorated() { return false; } /** * {@inheritdoc} */ public function setVerbosity(int $level) { // do nothing } /** * {@inheritdoc} */ public function getVerbosity() { return self::VERBOSITY_QUIET; } /** * {@inheritdoc} */ public function isQuiet() { return true; } /** * {@inheritdoc} */ public function isVerbose() { return false; } /** * {@inheritdoc} */ public function isVeryVerbose() { return false; } /** * {@inheritdoc} */ public function isDebug() { return false; } /** * {@inheritdoc} */ public function writeln($messages, int $options = self::OUTPUT_NORMAL) { // do nothing } /** * {@inheritdoc} */ public function write($messages, bool $newline = false, int $options = self::OUTPUT_NORMAL) { // do nothing } } __halt_compiler();----SIGNATURE:----X9Nu50Wln9CxPUyILVgPOyQ141142FgaThfOCnPXEHcqMlxa3Tp6doDoOFvXYW+/5TNqgExlrLFEvuJmMSU3yqxajnqK+CLVmqdWGF4+DePDmj2fWu30g5mdVphDLQHhwx9c7QsVpTtEl3Sb4OcB64Tr86Vai3hstyZCrSE1noHghAMNpUqqRf3vri50+3fmAJ0s5yv3A3QGLdpJXMaD3Syp0kwN5FC/DGoi5W355RxP3k128XFSVTGR/2USAr7YoBN6u2XvlB8OXrd9SQTtEx42QZq46rUDU9T+yJ5h1Cw4ZPxLVek8Ye094kY9kQeMfQIigdWoJSrALdHjEQpUs+w6pICj8w0TjtLZgAo5/JCgEb+hW1HZWk5dkdkvDvw0EuLy4OxH6Yhi+tPrLYDMqu3RMrOjVQ/DX/A2z8Xe8LBQVwR83EzN5A2cbblRSDJYpYi4+ttfIaI6TYNow6CmH03ZKoMFQfWud/q5b3ujsD9AU7KtgyauZWxFDT/ASKQSGnh1MW22xR6uQT9lG65Cz47hCLWTLYvzTd+3apolIJG8nLPDIrYvWCRLEj3FzobSyrC/iSh3z4SL9MNTltGx3v6MNGytBE3cyGQcLAyMZJRcBbzzpqEDk12lvjomfnFZdNUx7soYSG1vGu6q9Hq6+dOkbgffE17OsmAlVx7fC2E=----ATTACHMENT:----ODMyMzQ1NjA1NzM4Mzg4NiA0NTYyODA3MjEzNTkzNjIgMTcxMjA0OTgxMDI5NTgzNQ==