Skip to content

Commit

Permalink
增加getClient (#2611)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwaterwater committed Oct 21, 2022
1 parent 0d66246 commit 4accb06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Kernel/ServiceContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,8 @@ public function registerProviders(array $providers)
parent::register(new $provider());
}
}

public function getClient () {
return new BaseClient($this);
}
}

0 comments on commit 4accb06

Please sign in to comment.