Ben
9090d384ef
Does not work, because of a GuzzleHttp version clash in nextcloud/3rdparty and php-matrix-sdk.
28 lines
706 B
PHP
28 lines
706 B
PHP
<?php
|
|
|
|
namespace OCA\UPschooling\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 = 'upschooling';
|
|
|
|
public function __construct() {
|
|
parent::__construct(self::APP_ID);
|
|
}
|
|
|
|
public function register(IRegistrationContext $context): void
|
|
{
|
|
// Register the composer autoloader for packages shipped by this app, if applicable
|
|
include_once __DIR__ . '/../../vendor/autoload.php';
|
|
}
|
|
|
|
public function boot(IBootContext $context): void
|
|
{
|
|
// nothing to boot?
|
|
}
|
|
}
|