Automattic\WooCommerce\Blocks\Domain\Services

FeatureGating::get_environment()publicWC 1.0

Returns the current environment value.

Method of the class: FeatureGating{}

No Hooks.

Return

String.

Usage

$FeatureGating = new FeatureGating();
$FeatureGating->get_environment();

FeatureGating::get_environment() code WC 9.0.1

public function get_environment() {
	return $this->environment;
}