Automattic\WooCommerce\StoreApi\Schemas\V1

AbstractSchema::__construct()publicWC 1.0

Constructor.

Method of the class: AbstractSchema{}

No Hooks.

Return

null. Nothing (null).

Usage

$AbstractSchema = new AbstractSchema();
$AbstractSchema->__construct( $extend, $controller );
$extend(ExtendSchema) (required)
Rest Extending instance.
$controller(SchemaController) (required)
Schema Controller instance.

AbstractSchema::__construct() code WC 8.7.0

public function __construct( ExtendSchema $extend, SchemaController $controller ) {
	$this->extend     = $extend;
	$this->controller = $controller;
}