WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Domain\Services

ExtendRestApi::__construct() public WC 1.0

Constructor

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

No Hooks.

Return

null. Nothing.

Usage

$ExtendRestApi = new ExtendRestApi();
$ExtendRestApi->__construct( $package, $formatters );
$package(Package) (required)
An instance of the package class.
$formatters(Formatters) (required)
An instance of the formatters class.

Code of ExtendRestApi::__construct() WC 5.6.0

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