guaranteeService = new GuaranteeService(); $this->productMetaBox = new ProductMetaBox(); $this->settingsPage = new SettingsPage(); } public function boot(): void { $this->guaranteeService->registerHooks(); $this->productMetaBox->registerHooks(); $this->settingsPage->registerHooks(); } }