/** * Gets the instance (the only one) of the GafaMailer. * @return GafaMailer */ public static function Instance() { if (GafaMailer::$instance === null) { GafaMailer::$instance = new GafaMailer(); } return GafaMailer::$instance; }