original_string: public function info($type = 'user') {
          $payload = array(
              'template_id' => $this->templateId,
              'type' => $type
          );
          $apiCall = 'templates/info';
          $data = $this->requestMonkey($apiCall, $payload);
          $data = json_decode($data,true);
          if (isset($data['error']))
              throw new MailchimpAPIException($data);
          else
              return $data;
      }
code: public function info($type = 'user') {
          $payload = array(
              'template_id' => $this->templateId,
              'type' => $type
          );
          $apiCall = 'templates/info';
          $data = $this->requestMonkey($apiCall, $payload);
          $data = json_decode($data,true);
          if (isset($data['error']))
              throw new MailchimpAPIException($data);
          else
              return $data;
      }
code_tokens: public function info ( $ type = 'user' ) { $ payload = array ( 'template_id' => $ this -> templateId , 'type' => $ type ) ; $ apiCall = 'templates/info' ; $ data = $ this -> requestMonkey ( $ apiCall , $ payload ) ; $ data = json_decode ( $ data , true ) ; if ( isset ( $ data [ 'error' ] ) ) throw new MailchimpAPIException ( $ data ) ; else return $ data ; }
docstring: Pull details for a specific template to help support editing
  
  @link http://apidocs.mailchimp.com/api/2.0/templates/info.php
  @param string $type optional the template type to load - one of 'user', 'gallery', 'base', defaults to user.
  @return array
  @throws MailchimpAPIException
docstring_tokens: Pull details for a specific template to help support editing