[FrameworkBundle] Used $output->write() instead of echo

This commit is contained in:
Michał Pipa 2012-03-13 18:49:25 +01:00
parent c3bf479b14
commit df11e6287a

View File

@ -94,8 +94,8 @@ EOF
$builder->setWorkingDirectory($input->getOption('docroot')); $builder->setWorkingDirectory($input->getOption('docroot'));
$builder->setTimeout(null); $builder->setTimeout(null);
$process = $builder->getProcess()->run(function ($type, $buffer) { $builder->getProcess()->run(function ($type, $buffer) use ($output) {
echo $buffer; $output->write($buffer);
}); });
} }
} }