I'm writing a universal acl library for the whole site. I know how to get controllerName and actionName, but how to get the HTTP Method( GET/POST/PUT ... )? I know there's a 'getMethod ()' function in $request, but how to get the instance?
I'm writing a universal acl library for the whole site. I know how to get controllerName and actionName, but how to get the HTTP Method( GET/POST/PUT ... )? I know there's a 'getMethod ()' function in $request, but how to get the instance?