app_template/lib/AppInfo/Application.php

24 lines
528 B
PHP
Raw Permalink Normal View History

<?php
declare(strict_types=1);
namespace OCA\AppTemplate\AppInfo;
use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IRegistrationContext;
2024-11-10 12:03:55 +00:00
class Application extends App implements IBootstrap
{
public const APP_ID = 'app_template';
public function __construct() {
parent::__construct(self::APP_ID);
}
2024-11-10 12:03:55 +00:00
public function register(IRegistrationContext $context): void {}
2024-11-10 12:03:55 +00:00
public function boot(IBootContext $context): void {}
}