2017-04-10 05:00:19 -04:00
|
|
|
<?php
|
2020-07-05 07:23:30 -04:00
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2020-08-24 08:54:25 -04:00
|
|
|
|
2017-04-10 05:00:19 -04:00
|
|
|
/**
|
2024-06-02 09:26:54 -04:00
|
|
|
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2017-04-10 05:00:19 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCA\ShareByMail\AppInfo;
|
|
|
|
|
|
2019-11-22 14:52:10 -05:00
|
|
|
use OCA\ShareByMail\Capabilities;
|
2017-04-10 05:00:19 -04:00
|
|
|
use OCP\AppFramework\App;
|
2020-07-05 07:23:30 -04:00
|
|
|
use OCP\AppFramework\Bootstrap\IBootContext;
|
|
|
|
|
use OCP\AppFramework\Bootstrap\IBootstrap;
|
|
|
|
|
use OCP\AppFramework\Bootstrap\IRegistrationContext;
|
2017-04-10 05:00:19 -04:00
|
|
|
|
2020-07-05 07:23:30 -04:00
|
|
|
class Application extends App implements IBootstrap {
|
|
|
|
|
public const APP_ID = 'sharebymail';
|
2017-04-10 05:00:19 -04:00
|
|
|
|
2020-07-05 07:23:30 -04:00
|
|
|
public function __construct() {
|
|
|
|
|
parent::__construct(self::APP_ID);
|
|
|
|
|
}
|
2017-04-10 05:00:19 -04:00
|
|
|
|
2020-07-05 07:23:30 -04:00
|
|
|
public function register(IRegistrationContext $context): void {
|
|
|
|
|
$context->registerCapability(Capabilities::class);
|
|
|
|
|
}
|
2017-04-10 05:00:19 -04:00
|
|
|
|
2020-07-05 07:23:30 -04:00
|
|
|
public function boot(IBootContext $context): void {
|
2017-04-10 05:00:19 -04:00
|
|
|
}
|
|
|
|
|
}
|