/**
  * Singleton getter method. Returns the instance of our plugin or creates it.
  *
  * @since  1.0.0
  * @return TWT_Htaccess_Routing
  */
 public static function get_instance()
 {
     if (self::$instance instanceof TWT_Htaccess_Routing) {
         return self::$instance;
     }
     self::$instance = new TWT_Htaccess_Routing();
     return self::$instance;
 }
 /**
  * @since  1.0.0
  * @return string Returns the text domain used in localization methods
  */
 public function get_text_domain()
 {
     return TWT_Htaccess_Routing::get_instance()->get_plugin_name();
 }
/**
 * Begins execution of the plugin.
 *
 * Since everything within the plugin is registered via hooks,
 * then kicking off the plugin from this point in the file does
 * not affect the page life cycle.
 *
 * @since    1.0.0
 */
function run_twt_htaccess_routing()
{
    $plugin = TWT_Htaccess_Routing::get_instance();
    $plugin->run();
}