Skip to content

Commit

Permalink
Merge pull request #1 from w7corp/4.x
Browse files Browse the repository at this point in the history
增加getClient (w7corp#2611)
  • Loading branch information
clyquan authored Jan 10, 2023
2 parents 0d66246 + 4accb06 commit 1b5b38d
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 1b5b38d

Please sign in to comment.