Welcome Guest, Not a member yet? Register   Sign In
How to access request in ResourcePresenter?
#1

(This post was last modified: 11-24-2022, 03:55 AM by rich8374.)

I have created a simple ResourcePresenter, here is an example command: php spark make:controller books --restful presenter

What is the best practice way of accessing the IncomingRequest class in any of the methods?
I'm used to it being provided for me when using standard controllers which extend from BaseController.

Thanks in advance.
Reply


Messages In This Thread
How to access request in ResourcePresenter? - by rich8374 - 11-24-2022, 03:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB