Automattic\WooCommerce\StoreApi\Schemas

ExtendSchema::__construct()publicWC 1.0

Constructor

Method of the class: ExtendSchema{}

No Hooks.

Return

null. Nothing (null).

Usage

$ExtendSchema = new ExtendSchema();
$ExtendSchema->__construct( $formatters );
$formatters(Formatters) (required)
An instance of the formatters class.

ExtendSchema::__construct() code WC 8.9.0

public function __construct( Formatters $formatters ) {
	$this->formatters = $formatters;
}