Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\Transformers

DotNotation::validatepublicWC 1.0

Validate Transformer arguments.

Method of the class: DotNotation{}

No Hooks.

Returns

Mixed.

Usage

$DotNotation = new DotNotation();
$DotNotation->validate( ?stdClass $arguments );
?stdClass $arguments
.
Default: null

DotNotation::validate() code WC 10.4.3

public function validate( ?stdClass $arguments = null ) {
	if ( ! isset( $arguments->path ) ) {
		return false;
	}

	return true;
}