original_string: public function sendContactMessage(array $params)
      {
          $templateName = 'CoreBundle:Email:base.email.html.twig';
  
          $context = array(
              'params' => $params
          );
          
          $this->sendMessage(
                  $templateName, 
                  $context,  
                  $this->twigGlobal->getParameter('admin_email'), 
                  $params['email']
                  );
          
          $this->sendMessage(
                  $templateName, 
                  $context,  
                  $params['email'], 
                  $this->twigGlobal->getParameter('admin_email')
                  );
  
      }
code: public function sendContactMessage(array $params)
      {
          $templateName = 'CoreBundle:Email:base.email.html.twig';
  
          $context = array(
              'params' => $params
          );
          
          $this->sendMessage(
                  $templateName, 
                  $context,  
                  $this->twigGlobal->getParameter('admin_email'), 
                  $params['email']
                  );
          
          $this->sendMessage(
                  $templateName, 
                  $context,  
                  $params['email'], 
                  $this->twigGlobal->getParameter('admin_email')
                  );
  
      }
code_tokens: public function sendContactMessage ( array $ params ) { $ templateName = 'CoreBundle:Email:base.email.html.twig' ; $ context = array ( 'params' => $ params ) ; $ this -> sendMessage ( $ templateName , $ context , $ this -> twigGlobal -> getParameter ( 'admin_email' ) , $ params [ 'email' ] ) ; $ this -> sendMessage ( $ templateName , $ context , $ params [ 'email' ] , $ this -> twigGlobal -> getParameter ( 'admin_email' ) ) ; }
docstring: Send an email to a user and admin
  
  @param array $params (name, email, message)
  
  @return void
docstring_tokens: Send an email to a user and admin