Does anyone have an barebones example for extending the HTTP/Response with services container?

I want to extend the HTTP/Response to add some custom methods regarding named paths. I'm not sure how exactly to setup the optional parameters through the DI service.


Is it correct to say that the built-in Phalcon "response" service doesn't pass anything into the constructor?


you can use response this way

return new Response("Hi there");


I understand basic usage. I'm trying to extend it with a redirectStdAction method that understands fully module-spaced controller actions with a basic name like signin, changePassword.