/** * Extract the instructions from the order (if any). * * */ protected function extractInstructionsData(Order $order) { $instructions = $order->getInstructions(); if (empty($instructions)) { return 'None'; } return implode(PHP_EOL, $instructions); }