Automattic\WooCommerce\Internal\Admin\Logging
PageController::init
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() PageController::init code WC 10.8.1
final public function init(
FileController $file_controller,
Settings $settings
): void {
$this->file_controller = $file_controller;
$this->settings = $settings;
$this->init_hooks();
}