/** * Main Mailtpl Instance * * Ensures only one instance of Mailtpl is loaded or can be loaded. * * @since 1.0.0 * @static * @see Mailtpl() * @return Mailtpl - Main instance */ public static function instance() { if (is_null(self::$_instance)) { self::$_instance = new self(); } return self::$_instance; }