/** * Return an instance of this class. * * @since 1.0.0 * @return erpProRelated A single instance of this class. */ public static function get_instance(&$options) { // If the single instance hasn't been set, set it now. if (null == self::$instance) { self::$instance = new self($options); } self::$instance->options = $options; return self::$instance; }