From 2c40ec01b7f2d98fade6ec4d7019ce334ca1a96c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=9C=9D=E6=99=96?= Date: Sun, 30 May 2021 12:51:48 +0800 Subject: [PATCH] Added `Hyperf\Rpc\PathGenerator\DotPathGenerator`. (#3626) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 李铭昕 <715557344@qq.com> --- CHANGELOG-2.1.md | 4 +++ .../src/PathGenerator/DotPathGenerator.php | 27 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/rpc/src/PathGenerator/DotPathGenerator.php diff --git a/CHANGELOG-2.1.md b/CHANGELOG-2.1.md index 9340791a0..40e1f6f4d 100644 --- a/CHANGELOG-2.1.md +++ b/CHANGELOG-2.1.md @@ -5,6 +5,10 @@ - [#3618](https://github.com/hyperf/hyperf/pull/3618) Fixed routes with same path but different methods will be merged when using `describe:routes`. - [#3625](https://github.com/hyperf/hyperf/pull/3625) Fixed bug that `class_map` does not works in `Hyperf\Di\Annotation\Scanner`. +## Added + +- [#3626](https://github.com/hyperf/hyperf/pull/3626) Added `Hyperf\Rpc\PathGenerator\DotPathGenerator`. + # v2.1.18 - 2021-05-24 ## Fixed diff --git a/src/rpc/src/PathGenerator/DotPathGenerator.php b/src/rpc/src/PathGenerator/DotPathGenerator.php new file mode 100644 index 000000000..43b72be8d --- /dev/null +++ b/src/rpc/src/PathGenerator/DotPathGenerator.php @@ -0,0 +1,27 @@ +