Automattic\WooCommerce\Internal\Admin\Logging

PageController::initpublicWC 1.0

Initialize dependencies.

Method of the class: PageController{}

No Hooks.

Returns

null. Nothing (null).

Usage

$PageController = new PageController();
$PageController->init( $file_controller, $settings ): void;
$file_controller(FileController) (required)
Instance of FileController.
$settings(Settings) (required)
Instance of Settings.

PageController::init() code WC 9.9.5

final public function init(
	FileController $file_controller,
	Settings $settings
): void {
	$this->file_controller = $file_controller;
	$this->settings        = $settings;

	$this->init_hooks();
}