From 4790449ea10aa5a772cd474b54a40541b2683d74 Mon Sep 17 00:00:00 2001 From: George Shestayev Date: Thu, 11 Jul 2024 02:30:54 -0700 Subject: [PATCH] Refined project structure --- README.md | 6 ++++-- composer.json | 2 +- demo/controllers/BodyParamsJsonRpcController.php | 2 +- demo/controllers/JsonRpcController.php | 2 +- demo/controllers/ObjectParamsJsonRpcController.php | 2 +- demo/tests/api/JsonRpcCest.php | 1 - Action.php => src/Action.php | 2 +- Controller.php => src/Controller.php | 1 - JsonRpcError.php => src/JsonRpcError.php | 0 JsonRpcRequest.php => src/JsonRpcRequest.php | 6 +++--- JsonRpcSerializer.php => src/JsonRpcSerializer.php | 1 - {exceptions => src/exceptions}/InternalErrorException.php | 0 {exceptions => src/exceptions}/InvalidParamsException.php | 0 {exceptions => src/exceptions}/InvalidRequestException.php | 0 {exceptions => src/exceptions}/JsonRpcException.php | 1 - {exceptions => src/exceptions}/MethodNotFoundException.php | 0 {exceptions => src/exceptions}/ParseErrorException.php | 0 {responses => src/responses}/ErrorResponse.php | 0 {responses => src/responses}/JsonRpcResponse.php | 0 {responses => src/responses}/SuccessResponse.php | 0 20 files changed, 12 insertions(+), 14 deletions(-) rename Action.php => src/Action.php (100%) rename Controller.php => src/Controller.php (99%) rename JsonRpcError.php => src/JsonRpcError.php (100%) rename JsonRpcRequest.php => src/JsonRpcRequest.php (100%) rename JsonRpcSerializer.php => src/JsonRpcSerializer.php (99%) rename {exceptions => src/exceptions}/InternalErrorException.php (100%) rename {exceptions => src/exceptions}/InvalidParamsException.php (100%) rename {exceptions => src/exceptions}/InvalidRequestException.php (100%) rename {exceptions => src/exceptions}/JsonRpcException.php (98%) rename {exceptions => src/exceptions}/MethodNotFoundException.php (100%) rename {exceptions => src/exceptions}/ParseErrorException.php (100%) rename {responses => src/responses}/ErrorResponse.php (100%) rename {responses => src/responses}/JsonRpcResponse.php (100%) rename {responses => src/responses}/SuccessResponse.php (100%) diff --git a/README.md b/README.md index 578bff1..b5e8bd7 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,12 @@ therefore giving you Yii2 power fully. ## Usage Entry point: + ```php