* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Console\Tests\Fixtures; use Symfony\Component\Console\Output\BufferedOutput; /** * Dummy output. * * @author Kévin Dunglas */ class DummyOutput extends BufferedOutput { /** * @return array */ public function getLogs() { $logs = array(); foreach (explode(PHP_EOL, trim($this->fetch())) as $message) { preg_match('/^\[(.*)\] (.*)/', $message, $matches); $logs[] = sprintf('%s %s', $matches[1], $matches[2]); } return $logs; } } __halt_compiler();----SIGNATURE:----tXxz3kBY8nm97eo4yCcGqalRpn8cVKdHMEF+OhiCzEzNUa5bfSFm06AtFOnj/Oc3X7vFpKjlXkhkeP96fDk2mqW1+65M9nPfCgmDbQ8/mbUfL1hK5eXMo8BEDNniLbWeD6TgBu63Wbjc7z2YzG19Qfb1+n+ckN7YQ05oL0kNCefgJqQCml8GQkgg5rf1Y9zG5TXMp1swIxb/tBWIzgIT8BhJIkiefrEQCyofF7DlYph51jLJ/Mf49Y1c7bh2gS4c3jBJjyzsmmlkT8OvEvDDHwVps8bHItqLZkYFg2CwAdjh5cKiMtBh/g7SxCLzl+csyuOzSP4jVdc/GQq8T0//xEUzUbfWix2OHwwi4es/KUMIk8BYqDDIoNYeEDfcAsPvChJRAsxoLS+vWioVdWwGxAt2HKjU3qdg4+VZbLfhdlRnsHUT80M02h4ujYstgVwRdYE83Q7scC2jSpXvFc9khbcGM2KjGKIxCpbxhxZOeU0lMVeC8P/0904IRdV0yC0IuTLt0m0Q+E1k2X89DXVKNnsvUNyLwUQDp8pjqGSA0tZaB62EjLKgnZOvtD49cKqIbasBWGSpFLFx/hEcTrsGEMl2yGne3x3U8KOCnVUOFQfR7rINo6yZxELuqQV2w8AvVD+1toZweaJgGTm3Be8/1i3ptANj1O9pOzhobhixVtI=----ATTACHMENT:----NTg4MzIwMjcyMTQ5MDI2MSA5MzU2MTUyMjM5OTg3MjY4IDcwMDU2MjEyNzcwODQ0MjE=