Automattic\WooCommerce\Admin\RemoteInboxNotifications

TransformerInterface::transform()publicWC 1.0

Transform given value to a different value.

Method of the class: TransformerInterface{}

No Hooks.

Return

Mixed|null.

Usage

$TransformerInterface = new TransformerInterface();
$TransformerInterface->transform( $value, $arguments, $default_value );
$value(mixed) (required)
a value to transform.
$arguments(stdClass|null)
arguments.
Default: null
$default_value(string|null)
default value.
Default: null

TransformerInterface::transform() code WC 9.0.1

public function transform( $value, stdClass $arguments = null, $default_value = null );