Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianFun123 committed Jul 28, 2022
1 parent 6fd869e commit e5ee810
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "interaapps/ulole",
"type": "library",
"version": "3.1.6",
"version": "3.2.0",
"authors": [
{
"name": "JulianFun123",
Expand Down
10 changes: 7 additions & 3 deletions src/main/de/interaapps/ulole/core/WebApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace de\interaapps\ulole\core;

use de\interaapps\ulole\core\cli\CLIBootstrapper;
use de\interaapps\ulole\core\config\Configuration;
use de\interaapps\ulole\core\jobs\JobHandler;
use de\interaapps\ulole\orm\Database;
Expand All @@ -14,11 +15,12 @@ abstract class WebApplication {
private bool $inCLI = false;
private JobHandler $jobHandler;

public function start(Environment $environment) {
public function start(Environment $environment) : WebApplication {
$this->environment = $environment;

$this->router = (new Router)
->setIncludeDirectory("resources/views");
$this->router = (new Router())
->setIncludeDirectory("resources/views")
->jsonResponseTransformer();

$this->jobHandler = new JobHandler();

Expand All @@ -39,6 +41,8 @@ public abstract function init(): void;

public abstract function run(): void;

public function initCLI(CLIBootstrapper $cli): void {}

public function getRouter(): Router {
return $this->router;
}
Expand Down
4 changes: 2 additions & 2 deletions uppm.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "ulole-core",
"version": "3.1.6",
"version": "3.2.0",
"repositories": [],
"run": {},
"build": {},
"serve": {},
"modules": {
"interaapps\/jsonplus": "1.0.5",
"uloleorm": "3.2.2",
"deverm": "5.2.0"
"deverm": "5.3.0"
},
"namespaceBindings": {
"de\\interaapps\\ulole\\core": "src/main/de\/interaapps\/ulole\/core"
Expand Down

0 comments on commit e5ee810

Please sign in to comment.