WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\StoreApi

RoutesController::__construct() public WC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

$RoutesController = new RoutesController();
$RoutesController->__construct( $schemas );
$schemas(SchemaController) (required)
Schema controller class passed to each route.

Code of RoutesController::__construct() WC 5.8.0

public function __construct( SchemaController $schemas ) {
	$this->schemas = $schemas;
	$this->initialize();
}