/** * Retrieves the singleton instance * @return TestManager the instance */ public static function get_instance() { if (is_null(self::$instance)) { self::$instance = new self(); } return self::$instance; }