From 0171e39c7030042bb9c132af187838d5b2253093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 6 Nov 2020 15:55:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Abstracts/Kernel.php | 15 +++++++++++++++ System/Application.php | 14 ++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 System/Abstracts/Kernel.php diff --git a/System/Abstracts/Kernel.php b/System/Abstracts/Kernel.php new file mode 100644 index 00000000..05008066 --- /dev/null +++ b/System/Abstracts/Kernel.php @@ -0,0 +1,15 @@ +getCommands() as $command) { + $this->register($command); + } + return $this; + } + + /** * @param string $command * @throws