retro/lib/AppInfo/Application.php
Michel Roux 64361f02fe
Some checks failed
retro / xml (push) Successful in 1m21s
retro / php (push) Failing after 1m3s
retro / nodejs (push) Successful in 1m43s
retro / release (push) Has been skipped
feat: add a bunch of utils dep and add init script
2024-12-30 23:15:08 +01:00

28 lines
727 B
PHP

<?php
declare(strict_types=1);
namespace OCA\Retro\AppInfo;
use OCA\Files\Event\LoadAdditionalScriptsEvent;
use OCA\Retro\Listener\LoadAdditionalScriptsListener;
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 = 'retro';
public function __construct() {
parent::__construct(self::APP_ID);
}
public function register(IRegistrationContext $context): void {
$context->registerEventListener(LoadAdditionalScriptsEvent::class, LoadAdditionalScriptsListener::class);
}
public function boot(IBootContext $context): void {}
}