original_string: public function emailRegistration(array $data)
      {
          if ($this->config->get('user_registration_email_customer', true)) {
              $this->mail->set('user_registered_customer', array($data));
          }
  
          if ($this->config->get('user_registration_email_admin', true)) {
              $this->mail->set('user_registered_admin', array($data));
          }
      }
code: public function emailRegistration(array $data)
      {
          if ($this->config->get('user_registration_email_customer', true)) {
              $this->mail->set('user_registered_customer', array($data));
          }
  
          if ($this->config->get('user_registration_email_admin', true)) {
              $this->mail->set('user_registered_admin', array($data));
          }
      }
code_tokens: public function emailRegistration ( array $ data ) { if ( $ this -> config -> get ( 'user_registration_email_customer' , true ) ) { $ this -> mail -> set ( 'user_registered_customer' , array ( $ data ) ) ; } if ( $ this -> config -> get ( 'user_registration_email_admin' , true ) ) { $ this -> mail -> set ( 'user_registered_admin' , array ( $ data ) ) ; } }
docstring: Sends e-mails on registration event
  @param array $data
docstring_tokens: Sends e - mails on registration event