/**
  * This is used to retrieve the template pack for the given name.
  * Retrieved packs are cached on the static $_TMP_PACKS array.  If there is no class matching the given name then the default template pack is returned.
  *
  * @deprecated 4.9.0  @see EEH_MSG_Template::get_template_pack()
  *
  * @param string $template_pack_name This should correspond to the dbref of the template pack (which is also used in generating the Pack class name).
  *
  * @return EE_Messages_Template_Pack
  */
 public static function get_template_pack($template_pack_name)
 {
     EE_Registry::instance()->load_helper('MSG_Template');
     return EEH_MSG_Template::get_template_pack($template_pack_name);
 }
 /**
  * This returns the specific template pack object referenced by the template pack name attached to this message template group.  If no template pack is assigned then the default template pack is retrieved.
  *
  * @since 4.5.0
  *
  * @return EE_Messages_Template_Pack
  */
 public function get_template_pack()
 {
     $pack_name = $this->get_template_pack_name();
     EE_Registry::instance()->load_helper('MSG_Template');
     return EEH_MSG_Template::get_template_pack($pack_name);
 }