/** * Format messages output * * @param Varien_Object $command * @return string Message */ protected function formatMessages(Varien_Object $command, $payload = null) { $messages = ''; $messages .= PHP_EOL . ' - ' . $command->getMessage() . PHP_EOL; $messages .= 'INPUT: ' . $command->getCommand() . PHP_EOL; $messages .= 'OUTPUT: ' . print_r($command->getOutput()) . PHP_EOL . PHP_EOL; return $messages; }