Skip to content

Commit

Permalink
Create TarsRoute.php
Browse files Browse the repository at this point in the history
  • Loading branch information
luoxiaojun1992 authored Apr 11, 2021
1 parent 99776cd commit 649a02d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Route/TarsRoute.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 649a02d

Please sign in to comment.