From d2407cfed7bc4737d53077eebccd1a2dcc5a7754 Mon Sep 17 00:00:00 2001 From: Y!an Date: Tue, 1 Sep 2020 01:57:11 +0800 Subject: [PATCH] add Lychee --- composer.json | 2 +- src/Lychee.php | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 src/Lychee.php diff --git a/composer.json b/composer.json index ba10227..766df53 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "license": "MIT", "require": { "lychee/message": "^0.1.2", - "lychee/container": "^0.0.1" + "lychee/container": "^0.0.2" }, "autoload": { "psr-4" : { diff --git a/src/Lychee.php b/src/Lychee.php new file mode 100644 index 0000000..c5ec90b --- /dev/null +++ b/src/Lychee.php @@ -0,0 +1,29 @@ +base_path = $base_path; + + $this->container = new Container; + } + + public function start() + { + // + } + + public function getContainer() + { + return $this->container; + } +}