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