Automattic\WooCommerce\Internal\RestApi\Routes\V4\Settings\Account

Controller::init │ public │ WC 1.0

Initialize the controller.

Method of the class: Controller{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Controller = new Controller();
$Controller->init( $schema );
$schema(AccountSettingsSchema) (required)
Schema class.

Controller::init() code WC 11.1.2

final public function init( AccountSettingsSchema $schema ) {
	$this->schema = $schema;
}