mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
Update composer usage
Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
parent
b1d248eff9
commit
86da2b4883
2 changed files with 5 additions and 1 deletions
5
composer/autoload.php
Normal file
5
composer/autoload.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
|
|
@ -35,7 +35,6 @@ class Application extends App implements IBootstrap {
|
|||
}
|
||||
|
||||
public function register(IRegistrationContext $context): void {
|
||||
include_once __DIR__ . '/../../vendor/autoload.php';
|
||||
$context->registerEventListener(LoadSidebar::class, LoadSidebarListener::class);
|
||||
$context->registerEventListener(BeforeNodeDeletedEvent::class, BeforeNodeDeletedListener::class);
|
||||
$context->registerEventListener(SignedEvent::class, SignedListener::class);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue