Automattic\WooCommerce\Admin\RemoteInboxNotifications\Transformers

ArrayColumn::validate()publicWC 1.0

Validate Transformer arguments.

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

No Hooks.

Return

Mixed.

Usage

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

Code of ArrayColumn::validate() WC 6.6.1

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

	return true;
}