38 lines
1.1 KiB
PHP
38 lines
1.1 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
// SPDX-FileCopyrightText: Phillip Thern <imap-login.nextcloud@thern.wtf>
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
namespace OCA\IMAPLoginRegistration\AppInfo;
|
|
|
|
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 const APP_ID = 'imaploginregistration';
|
|
|
|
public function __construct() {
|
|
parent::__construct(self::APP_ID);
|
|
}
|
|
|
|
|
|
public function register(IRegistrationContext $context): void {
|
|
/*
|
|
* For further information about the app bootstrapping, please refer to our documentation:
|
|
* https://docs.nextcloud.com/server/latest/developer_manual/app_development/bootstrap.html
|
|
*/
|
|
// Register your services, event listeners, etc.
|
|
}
|
|
|
|
public function boot(IBootContext $context): void {
|
|
/*
|
|
* For further information about the app bootstrapping, please refer to our documentation:
|
|
* https://docs.nextcloud.com/server/latest/developer_manual/app_development/bootstrap.html
|
|
*/
|
|
// Prepare your app.
|
|
}
|
|
}
|