示例#1
0
 public static function send($template, $name = '')
 {
     $instance = new self();
     $instance->name = trim($name);
     $instance->setup_template($template);
     self::$current = $instance;
     return $instance->compose();
 }
示例#2
0
 public static function send($template, $name = '')
 {
     self::$current = new self($name, $template);
     return self::$current->compose();
 }