WordPress at a glance
function is not described

Automattic\WooCommerce\Blocks

RestApi::__construct() public WC 1.0

Constructor

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

No Hooks.

Return

Null. Nothing.

Usage

$RestApi = new RestApi();
$RestApi->__construct( $extend );
$extend(ExtendRestApi) (required)
Rest Extending instance.

Code of RestApi::__construct() WC 5.0.0

<?php
public function __construct( ExtendRestApi $extend ) {
	$this->extend = $extend;
	$this->init();
}