Initial commit
This commit is contained in:
37
lib/AppInfo/Application.php
Normal file
37
lib/AppInfo/Application.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
// SPDX-FileCopyrightText: Andrea Rigoni Garola <andrea.rgn@gmail.com>
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
namespace OCA\PhotoReduce\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 = 'photoreduce';
|
||||
|
||||
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.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user