Automattic\WooCommerce\Internal\Admin\Logging
PageController::init
Initialize dependencies.
Метод класса: PageController{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$PageController = new PageController(); $PageController->init( $file_controller, $settings ): void;
- $file_controller(FileController) (обязательный)
- Instance of FileController.
- $settings(Settings) (обязательный)
- Instance of Settings.
Код PageController::init() PageController::init WC 10.5.2
final public function init(
FileController $file_controller,
Settings $settings
): void {
$this->file_controller = $file_controller;
$this->settings = $settings;
$this->init_hooks();
}