Welcome Guest, Not a member yet? Register   Sign In
Accessing "$request" and "validate" from another class
#2

(This post was last modified: 12-15-2019, 05:01 AM by MGatner.)

Those libraries are initialized on the current routed controller during initController, so if you are loading the controller from somewhere else you will need to inject those libraries from the current controller. If you are extending that controller to access those methods it should work fine. Can you share your code that is trying to make the uploadFile() call?
Reply


Messages In This Thread
RE: Accessing "$request" and "validate" from another class - by MGatner - 12-15-2019, 05:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB