%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/survey_client/lib/AppInfo/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/survey_client/lib/AppInfo/Application.php |
<?php /** * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors * SPDX-FileCopyrightText: 2016 ownCloud, Inc. * SPDX-License-Identifier: AGPL-3.0-only */ namespace OCA\Survey_Client\AppInfo; use OCA\Survey_Client\Notifier; use OCP\AppFramework\App; use OCP\AppFramework\Bootstrap\IBootContext; use OCP\AppFramework\Bootstrap\IBootstrap; use OCP\AppFramework\Bootstrap\IRegistrationContext; class Application extends App implements IBootstrap { public function __construct(array $urlParams = []) { parent::__construct('survey_client', $urlParams); } public function register(IRegistrationContext $context): void { } public function boot(IBootContext $context): void { $notificationManager = $context->getServerContainer()->getNotificationManager(); $notificationManager->registerNotifierService(Notifier::class); } }