Automattic\WooCommerce\Admin\RemoteInboxNotifications\Transformers

ArraySearch::validate()publicWC 1.0

Validate Transformer arguments.

{} It's a method of the class: ArraySearch{}

No Hooks.

Return

Mixed.

Usage

$ArraySearch = new ArraySearch();
$ArraySearch->validate( $arguments );
$arguments(stdClass|null)
arguments to validate.
Default: null

Code of ArraySearch::validate() WC 6.6.1

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

	return true;
}