From 4accb0627803ffb6e45d2988898a0293d2a48e68 Mon Sep 17 00:00:00 2001 From: jwaterwater Date: Fri, 21 Oct 2022 15:00:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0getClient=20(#2611)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Kernel/ServiceContainer.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Kernel/ServiceContainer.php b/src/Kernel/ServiceContainer.php index 135093c82..78798aee0 100644 --- a/src/Kernel/ServiceContainer.php +++ b/src/Kernel/ServiceContainer.php @@ -157,4 +157,8 @@ public function registerProviders(array $providers) parent::register(new $provider()); } } + + public function getClient () { + return new BaseClient($this); + } }