# cartflows/1.1.10/modules/flow/class-cartflows-flow.php

CartFlows – Funnel Builder &amp; Checkout Plugin for WooCommerce, version 1.1.10. 49 lines.

- Page: https://pluginprobe.com/plugins/cartflows/1.1.10/code/modules/flow/class-cartflows-flow.php
- Raw: https://pluginprobe.com/plugins/cartflows/1.1.10/raw/modules/flow/class-cartflows-flow.php
- Modified: 2019-03-06T09:37:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/cartflows/1.1.10/code/modules/flow/class-cartflows-flow.php#L10-L20`.

```php
<?php
/**
 * Flow
 *
 * @package CartFlows
 */

define( 'CARTFLOWS_FLOW_DIR', CARTFLOWS_DIR . 'modules/flow/' );
define( 'CARTFLOWS_FLOW_URL', CARTFLOWS_URL . 'modules/flow/' );

/**
 * Initial Setup
 *
 * @since 1.0.0
 */
class Cartflows_Flow {


	/**
	 * Member Variable
	 *
	 * @var object instance
	 */
	private static $instance;

	/**
	 *  Initiator
	 */
	public static function get_instance() {
		if ( ! isset( self::$instance ) ) {
			self::$instance = new self;
		}
		return self::$instance;
	}

	/**
	 * Constructor function that initializes required actions and hooks
	 */
	public function __construct() {
		require_once CARTFLOWS_FLOW_DIR . 'classes/class-cartflows-flow-loader.php';
		require_once CARTFLOWS_FLOW_DIR . 'classes/class-cartflows-flow-meta.php';
	}
}

/**
 *  Kicking this off by calling 'get_instance()' method
 */
Cartflows_Flow::get_instance();

```
