original_string: public function getPaymentMethodTemplate($template, array $order, $payment_model)
      {
          if (empty($order['payment'])) {
              return '';
          }
  
          $method = $payment_model->get($order['payment']);
          return $this->getMethodTemplate($template, $order, $method);
      }
code: public function getPaymentMethodTemplate($template, array $order, $payment_model)
      {
          if (empty($order['payment'])) {
              return '';
          }
  
          $method = $payment_model->get($order['payment']);
          return $this->getMethodTemplate($template, $order, $method);
      }
code_tokens: public function getPaymentMethodTemplate ( $ template , array $ order , $ payment_model ) { if ( empty ( $ order [ 'payment' ] ) ) { return '' ; } $ method = $ payment_model -> get ( $ order [ 'payment' ] ) ; return $ this -> getMethodTemplate ( $ template , $ order , $ method ) ; }
docstring: Returns a template for a payment method
  @param string $template
  @param array $order
  @param \gplcart\core\models\Payment $payment_model
  @return string
docstring_tokens: Returns a template for a payment method