/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
setup/src/Magento/Setup/Test/Unit/Console/Style/TestOutput.php
37 строк
667 B
Rajesh Kumar
Merge remote-tracking branch 'origin/2.4-develop' into AC-15170
05 дек 2025, 13:01
05 дек 2025, 13:01
e3f334a
Код
Авторство
О чём код?
<?php /** * Copyright 2018 Adobe * All Rights Reserved. */ declare(strict_types=1); namespace Magento\Setup\Test\Unit\Console\Style; use Symfony\Component\Console\Output\Output; /** * Auxiliary class for MagentoStyleTest. */ class TestOutput extends Output { /** * Captured output content for testing purposes * * @var string */ public $output = ''; public function clear(): void { $this->output = ''; } /** * @param string $message * @param bool $newline */ protected function doWrite($message, $newline): void { $this->output .= $message . ($newline ? "\n" : ''); } }