Internal Request Handler Adapter. Exception breaking change.
💥 Breaking Change:
- Renamed Exception class names.
🎯 Core Updates:
- Reduced: doc comments.
- Added: PHPCS whitelisting (not published in project though).
- Updated: constant name
CODEGARAGE_PSR_PACKAGE_INSTALLED
toTWS_CODEGARAGE_PSR_PACKAGE_INSTALLED
for create-wordpress-project compatibility.
🚧 PSR-15 Bridge Updates:
- Added: New Internal Request Handler as well as option to bring your own Internal Request Handler Adapter that returns the response generated by pipe handler. The Adapter can be used in the pipeline like so:
$pipeline->use($request, RequestHandlerAdapter::class)
.
This
RequestHandlerAdapter
accepts the pipe response via its constructor.
- Removed: passing Response as Request Attribute and implemented double-pass approach with new Internal Request Handler.