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