Skip to content

CP-17379 create viewresponder for adr#17384

Merged
niden merged 5 commits into
5.0.xfrom
CP-17379-create-viewresponder-for-adr
Jul 21, 2026
Merged

CP-17379 create viewresponder for adr#17384
niden merged 5 commits into
5.0.xfrom
CP-17379-create-viewresponder-for-adr

Conversation

@niden

@niden niden commented Jul 20, 2026

Copy link
Copy Markdown
Member

Hello!

In raising this pull request, I confirm the following:

  • I have read and understood the Contributing Guidelines
  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • I have updated the relevant CHANGELOG
  • I have created a PR for the documentation about this change

Added Phalcon\ADR\Responder\ViewResponder, which renders a .phtml template and returns it as an HTML response. The action picks the template with withTemplate(), and the view receives result, messages and status. Any renderer implementing the new Phalcon\Contracts\View\Renderer can be used - Phalcon\Mvc\View\Simple now does.

Thanks

@niden
niden requested a review from Jeckerson July 20, 2026 22:20
@niden niden self-assigned this Jul 20, 2026
@niden niden added new feature request Planned Feature or New Feature Request 5.0 The issues we want to solve in the 5.0 release labels Jul 20, 2026
@niden
niden merged commit 9ec5038 into 5.0.x Jul 21, 2026
565 of 576 checks passed
@niden
niden deleted the CP-17379-create-viewresponder-for-adr branch July 21, 2026 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5.0 The issues we want to solve in the 5.0 release new feature request Planned Feature or New Feature Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant