private function importSettings(OperationHandlerContract $handler, ExtensionContract $extension)
    {
        $settingsPath = $extension->getPath() . '/resources/config/settings.php';
        if (File::exists($settingsPath)) {
            $settings = $this->settingsFactory->createFromConfig($extension->getPath() . '/resources/config/settings.php');
            $extension->setSettings($settings);
            $handler->operationInfo(new Operation('Importing settings.'));
        }
    }