[PR #4] Lot of changes to make it more flexible. #6

Open
opened 2026-01-24 11:25:10 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/rest/pull/4
Author: @bartoszhernas
Created: 11/7/2013
Status: 🔄 Open

Base: masterHead: master


📝 Commits (4)

  • f4fdd83 Added ability to specify headers
  • 7b5f29c Added method to get entityConfiguration in ResponseTransformers and fixed issue with json_decode
  • 9b83039 Added requestType to support requests where data is sent via JSON
  • 07b34c1 Added legacy support

📊 Changes

7 files changed (+96 additions, -14 deletions)

View changed files

📝 lib/Doctrine/REST/Client/Client.php (+28 -4)
📝 lib/Doctrine/REST/Client/Entity.php (+1 -1)
📝 lib/Doctrine/REST/Client/EntityConfiguration.php (+10 -0)
📝 lib/Doctrine/REST/Client/Manager.php (+2 -6)
📝 lib/Doctrine/REST/Client/Request.php (+22 -0)
📝 lib/Doctrine/REST/Client/ResponseTransformer/AbstractResponseTransformer.php (+31 -1)
📝 lib/Doctrine/REST/Client/ResponseTransformer/StandardResponseTransformer.php (+2 -2)

📄 Description

  • Added ability to specify headers
  • Added ability to do single rest request without mapping to objects (data translator without entity mapping)
  • Added method to get EntityConfiguration in ResponseTransformers and fixed issue with json_decode
  • Added method to set requestType and ability to send json requests to server.

Class is still backwards compatible


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/rest/pull/4 **Author:** [@bartoszhernas](https://github.com/bartoszhernas) **Created:** 11/7/2013 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`f4fdd83`](https://github.com/doctrine/rest/commit/f4fdd83746e9c8fe066c4e543858978f40076cce) Added ability to specify headers - [`7b5f29c`](https://github.com/doctrine/rest/commit/7b5f29caaab38e4a59749b4b1b5542c0bb3ab353) Added method to get entityConfiguration in ResponseTransformers and fixed issue with json_decode - [`9b83039`](https://github.com/doctrine/rest/commit/9b83039bb9c1495c1b44aeffc2af24faa218b91f) Added requestType to support requests where data is sent via JSON - [`07b34c1`](https://github.com/doctrine/rest/commit/07b34c1f68b0bef151c45a7e3c86335ca4139d49) Added legacy support ### 📊 Changes **7 files changed** (+96 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/REST/Client/Client.php` (+28 -4) 📝 `lib/Doctrine/REST/Client/Entity.php` (+1 -1) 📝 `lib/Doctrine/REST/Client/EntityConfiguration.php` (+10 -0) 📝 `lib/Doctrine/REST/Client/Manager.php` (+2 -6) 📝 `lib/Doctrine/REST/Client/Request.php` (+22 -0) 📝 `lib/Doctrine/REST/Client/ResponseTransformer/AbstractResponseTransformer.php` (+31 -1) 📝 `lib/Doctrine/REST/Client/ResponseTransformer/StandardResponseTransformer.php` (+2 -2) </details> ### 📄 Description - Added ability to specify headers - Added ability to do single rest request without mapping to objects (data translator without entity mapping) - Added method to get **EntityConfiguration** in **ResponseTransformers** and fixed issue with json_decode - Added method to set **requestType** and ability to send json requests to server. Class is still backwards compatible --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-24 11:25:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/rest#6