original_string: public static function allTemplates()
      {
          $result = [];
          $codes = array_keys(self::listAllTemplates());
  
          foreach ($codes as $code) {
              $result[] = self::findOrMakeTemplate($code);
          }
  
          return $result;
      }
code: public static function allTemplates()
      {
          $result = [];
          $codes = array_keys(self::listAllTemplates());
  
          foreach ($codes as $code) {
              $result[] = self::findOrMakeTemplate($code);
          }
  
          return $result;
      }
code_tokens: public static function allTemplates ( ) { $ result = [ ] ; $ codes = array_keys ( self :: listAllTemplates ( ) ) ; foreach ( $ codes as $ code ) { $ result [ ] = self :: findOrMakeTemplate ( $ code ) ; } return $ result ; }
docstring: Returns a list of all mail templates.
  @return array Returns an array of the MailTemplate objects.
docstring_tokens: Returns a list of all mail templates .