From 649a02d69848d54086b960f15525e39638fbe302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=99=93=E4=BF=8A?= Date: Sun, 11 Apr 2021 11:05:57 +0800 Subject: [PATCH] Create TarsRoute.php --- src/Route/TarsRoute.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Route/TarsRoute.php b/src/Route/TarsRoute.php index 0c53d38..15d5639 100644 --- a/src/Route/TarsRoute.php +++ b/src/Route/TarsRoute.php @@ -60,13 +60,6 @@ protected function handle($illuminateRequest) $application = $this->app; if (Util::isLumen()) { - $auth = $application['auth']; - $reflect = new \ReflectionObject($auth); - $prop = $reflect->getProperty('customCreators'); - $prop->setAccessible(true); - $cc = $prop->getValue($auth); - var_dump(isset($cc['api'])); - $illuminateResponse = $application->dispatch($illuminateRequest); } else { /** @var Kernel $kernel */